protected function DisplayPluginBase::isBaseTableTranslatable in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::isBaseTableTranslatable()
 
Returns whether the base table is of a translatable entity type.
Return value
bool TRUE if the base table is of a translatable entity type, FALSE otherwise.
2 calls to DisplayPluginBase::isBaseTableTranslatable()
- DisplayPluginBase::buildOptionsForm in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php  - Provide a form to edit options for this plugin.
 - DisplayPluginBase::optionsSummary in core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php  - Provides the default summary for options in the views UI.
 
File
- core/
modules/ views/ src/ Plugin/ views/ display/ DisplayPluginBase.php, line 2762  
Class
- DisplayPluginBase
 - Base class for views display plugins.
 
Namespace
Drupal\views\Plugin\views\displayCode
protected function isBaseTableTranslatable() {
  if ($entity_type = $this->view
    ->getBaseEntityType()) {
    return $entity_type
      ->isTranslatable();
  }
  return FALSE;
}