You are here

public function EntityReferenceBrowserTableWidget::getActionColumnHeader in Entity Browser - Table Layout 8

1 call to EntityReferenceBrowserTableWidget::getActionColumnHeader()
EntityReferenceBrowserTableWidget::buildTableHeaders in src/Plugin/Field/FieldWidget/EntityReferenceBrowserTableWidget.php

File

src/Plugin/Field/FieldWidget/EntityReferenceBrowserTableWidget.php, line 374

Class

EntityReferenceBrowserTableWidget
Plugin implementation of the 'entity_reference_browser_table_widget' widget.

Namespace

Drupal\entity_browser_table\Plugin\Field\FieldWidget

Code

public function getActionColumnHeader() {
  return $this
    ->getSetting('field_widget_edit') || $this
    ->getSetting('field_widget_remove') || $this
    ->getSetting('field_widget_replace') ? $this
    ->t('Action') : NULL;
}