public function EntityReference::buildOptionsForm in Drupal 9
Same name in this branch
- 9 core/modules/views/src/Plugin/views/style/EntityReference.php \Drupal\views\Plugin\views\style\EntityReference::buildOptionsForm()
- 9 core/modules/views/src/Plugin/views/row/EntityReference.php \Drupal\views\Plugin\views\row\EntityReference::buildOptionsForm()
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/row/EntityReference.php \Drupal\views\Plugin\views\row\EntityReference::buildOptionsForm()
Provide a form for setting options.
Overrides Fields::buildOptionsForm
File
- core/
modules/ views/ src/ Plugin/ views/ row/ EntityReference.php, line 36
Class
- EntityReference
- EntityReference row plugin.
Namespace
Drupal\views\Plugin\views\rowCode
public function buildOptionsForm(&$form, FormStateInterface $form_state) {
parent::buildOptionsForm($form, $form_state);
// Expand the description of the 'Inline field' checkboxes.
$form['inline']['#description'] .= '<br />' . $this
->t("<strong>Note:</strong> In 'Entity Reference' displays, all fields will be displayed inline unless an explicit selection of inline fields is made here.");
}