function DisplayPluginBase::isBaseTableTranslatable
Same name in other branches
- 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::isBaseTableTranslatable()
- 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::isBaseTableTranslatable()
- 10 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 2790
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.