public function EntityReferenceRevisions::buildOptionsForm in Entity Reference Revisions 8
Same name in this branch
- 8 src/Plugin/views/style/EntityReferenceRevisions.php \Drupal\entity_reference_revisions\Plugin\views\style\EntityReferenceRevisions::buildOptionsForm()
- 8 src/Plugin/views/row/EntityReferenceRevisions.php \Drupal\entity_reference_revisions\Plugin\views\row\EntityReferenceRevisions::buildOptionsForm()
Overrides \Drupal\views\Plugin\views\row\Fields::buildOptionsForm().
Overrides Fields::buildOptionsForm
File
- src/
Plugin/ views/ row/ EntityReferenceRevisions.php, line 37
Class
- EntityReferenceRevisions
- EntityReferenceRevisions row plugin.
Namespace
Drupal\entity_reference_revisions\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.");
}