public function EntityReference::buildOptionsForm

Same name in this branch
  1. 8.x drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/row/EntityReference.php \Drupal\entity_reference\Plugin\views\row\EntityReference::buildOptionsForm()
  2. 8.x drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php \Drupal\entity_reference\Plugin\views\style\EntityReference::buildOptionsForm()

Overrides \Drupal\views\Plugin\views\row\Fields::buildOptionsForm().

Overrides Fields::buildOptionsForm

File

drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/row/EntityReference.php, line 42
Contains \Drupal\entity_reference\Plugin\views\row\EntityReference.

Class

EntityReference
EntityReference row plugin.

Namespace

Drupal\entity_reference\Plugin\views\row

Code

public function buildOptionsForm(&$form, &$form_state) {
  parent::buildOptionsForm($form, $form_state);

  // Expand the description of the 'Inline field' checkboxes.
  $form['inline']['#description'] .= '<br />' . t("<strong>Note:</strong> In 'Entity Reference' displays, all fields will be displayed inline unless an explicit selection of inline fields is made here.");
}