Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. JoinPluginBase.php

JoinPluginBase::$adjusted

Defines whether a join has been adjusted.

Views updates the join object to set the table alias instead of the table name. Once views has changed the alias it sets the adjusted value so it does not have to be updated anymore. If you create your own join object you should set the adjusted in the definition array to TRUE if you already know the table alias.

Type: bool

See also

\Drupal\views\Plugin\HandlerBase::getTableJoin()

\Drupal\views\Plugin\views\query\Sql::adjustJoin()

\Drupal\views\Plugin\views\relationship\RelationshipPluginBase::query()

File

core/modules/views/src/Plugin/views/join/JoinPluginBase.php, line 250

Class

JoinPluginBase
Represents a join and creates the SQL necessary to implement the join.

Namespace

Drupal\views\Plugin\views\join

Code

public $adjusted;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal