public function EntityReferenceBrowserTableWidget::getFirstColumnHeader in Entity Browser - Table Layout 8
1 call to EntityReferenceBrowserTableWidget::getFirstColumnHeader()
- EntityReferenceBrowserTableWidget::buildTableHeaders in src/
Plugin/ Field/ FieldWidget/ EntityReferenceBrowserTableWidget.php
File
- src/
Plugin/ Field/ FieldWidget/ EntityReferenceBrowserTableWidget.php, line 362
Class
- EntityReferenceBrowserTableWidget
- Plugin implementation of the 'entity_reference_browser_table_widget' widget.
Namespace
Drupal\entity_browser_table\Plugin\Field\FieldWidgetCode
public function getFirstColumnHeader() {
return $this
->getSetting('field_widget_display') == 'rendered_entity' ? $this
->t('Thumbnail') : $this
->t('Title');
}