You are here

protected function TcaAccessCheck::isEntityBundle in Token Content Access 2.0.x

Same name and namespace in other branches
  1. 8 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\Access

Code

protected function isEntityBundle($entity) {
  return is_subclass_of($entity, 'Drupal\\Core\\Config\\Entity\\ConfigEntityBundleBase');
}