You are here

public function EntityReferenceRevisions::buildOptionsForm in Entity Reference Revisions 8

Same name in this branch
  1. 8 src/Plugin/views/style/EntityReferenceRevisions.php \Drupal\entity_reference_revisions\Plugin\views\style\EntityReferenceRevisions::buildOptionsForm()
  2. 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\row

Code

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.");
}