MapDataDefinition::$mainPropertyName

The name of the main property, or NULL if there is none. Type: string File core/lib/Drupal/Core/TypedData/MapDataDefinition.php, line 15 Class MapDataDefinition A typed data definition class for defining maps. Namespace Drupal\Core\TypedData Code protected $mainPropertyName = NULL;

MapDataDefinition

A typed data definition class for defining maps. Hierarchy class \Drupal\Core\TypedData\DataDefinition implements \ArrayAccess, DataDefinitionInterfaceclass \Drupal\Core\TypedData\ComplexDataDefinitionBase implements ComplexDataDefinitionInterfaceclass \Drupal\Core\TypedData\MapDataDefinition File core/lib/Drupal/Core/TypedData/MapDataDefinition.php, line 8 Namespace Drupal\Core\TypedData Members Name Modifiers Type Description ComplexDataDefinitionBase::$propertyDefinitions

ManyToOneHelper::__construct

ManyToOneHelper::__construct($handler) File core/modules/views/src/ManyToOneHelper.php, line 23 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code function __construct($handler) { $this->handler = $handler; }

ManyToOneHelper::summaryJoin

public ManyToOneHelper::summaryJoin() Provide the proper join for summary queries. This is important in part because it will cooperate with other arguments if possible. File core/modules/views/src/ManyToOneHelper.php, line 117 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public function summaryJoin() { $field = $this->handler->relationship . '_' . $this->handler->table . '.' . $this->handler->

ManyToOneHelper::placeholder

protected ManyToOneHelper::placeholder() Provides a unique placeholders for handlers. File core/modules/views/src/ManyToOneHelper.php, line 251 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code protected function placeholder() { return $this->handler->query->placeholder($this->handler->options['table'] . '_' . $this->handler->options['field']); }

ManyToOneHelper::getJoin

public ManyToOneHelper::getJoin() File core/modules/views/src/ManyToOneHelper.php, line 109 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public function getJoin() { return $this->handler->getJoin(); }

ManyToOneHelper::getField

public ManyToOneHelper::getField() Sometimes the handler might want us to use some kind of formula, so give it that option. If it wants us to do this, it must set $helper->formula = TRUE and implement handler->getFormula(); File core/modules/views/src/ManyToOneHelper.php, line 46 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public function getField() { if (!empty($this->formula)) { return $this-&g

ManyToOneHelper::ensureMyTable

public ManyToOneHelper::ensureMyTable() Override ensureMyTable so we can control how this joins in. The operator actually has influence over joining. File core/modules/views/src/ManyToOneHelper.php, line 154 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public function ensureMyTable() { if (!isset($this->handler->tableAlias)) { // Case 1: Operator is an 'or' and we're not reducing duplicates. // W

ManyToOneHelper::defineOptions

public static ManyToOneHelper::defineOptions(&$options) File core/modules/views/src/ManyToOneHelper.php, line 27 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public static function defineOptions(&$options) { $options['reduce_duplicates'] = array('default' => FALSE); }

ManyToOneHelper::buildOptionsForm

public ManyToOneHelper::buildOptionsForm(&$form, FormStateInterface $form_state) File core/modules/views/src/ManyToOneHelper.php, line 31 Class ManyToOneHelper This many to one helper object is used on both arguments and filters. Namespace Drupal\views Code public function buildOptionsForm(&$form, FormStateInterface $form_state) { $form['reduce_duplicates'] = array( '#type' => 'checkbox', '#title' => t('Reduce duplicates'), '#description' => t("This filte