protected function TcaAccessCheck::isEntityBundle in Token Content Access 8
Same name and namespace in other branches
- 2.0.x src/Access/TcaAccessCheck.php \Drupal\tca\Access\TcaAccessCheck::isEntityBundle()
TODO.
1 call to TcaAccessCheck::isEntityBundle()
- TcaAccessCheck::access in src/
Access/ TcaAccessCheck.php - Checks access to the node add page for the node type.
File
- src/
Access/ TcaAccessCheck.php, line 160
Class
- TcaAccessCheck
- Token Content Access access check.
Namespace
Drupal\tca\AccessCode
protected function isEntityBundle($entity) {
return is_subclass_of($entity, 'Drupal\\Core\\Config\\Entity\\ConfigEntityBundleBase');
}