function NavigationSectionStorage::isSupported
Same name and namespace in other branches
- 11.x core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php \Drupal\navigation\Plugin\SectionStorage\NavigationSectionStorage::isSupported()
Determines if layout builder is supported by a view mode.
Parameters
string $entity_type_id: The entity type id.
string $bundle: The bundle.
string $view_mode: The view mode.
Return value
bool TRUE if it is supported, otherwise FALSE.
Overrides SupportAwareSectionStorageInterface::isSupported
File
-
core/
modules/ navigation/ src/ Plugin/ SectionStorage/ NavigationSectionStorage.php, line 207
Class
- NavigationSectionStorage
- Provides navigation section storage.
Namespace
Drupal\navigation\Plugin\SectionStorageCode
public function isSupported(string $entity_type_id, string $bundle, string $view_mode) : bool {
// Navigation section storage does not support any entity type.
return FALSE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.