JoinPluginBase::$adjusted

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/join/JoinPluginBase.php \Drupal\views\Plugin\views\join\JoinPluginBase::adjusted
  2. 10 core/modules/views/src/Plugin/views/join/JoinPluginBase.php \Drupal\views\Plugin\views\join\JoinPluginBase::adjusted
  3. 11.x core/modules/views/src/Plugin/views/join/JoinPluginBase.php \Drupal\views\Plugin\views\join\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;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.