You are here

protected function FormManglerService::isEntityBundle in Token Content Access 8

Same name and namespace in other branches
  1. 2.0.x src/FormManglerService.php \Drupal\tca\FormManglerService::isEntityBundle()

TODO.

1 call to FormManglerService::isEntityBundle()
FormManglerService::addTcaSettingsToForm in src/FormManglerService.php
Common functionality for adding TCA options to forms.

File

src/FormManglerService.php, line 427

Class

FormManglerService
Class FormManglerService.

Namespace

Drupal\tca

Code

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