You are here

protected function FormManglerService::isEntityBundle in Rabbit Hole 2.x

Same name and namespace in other branches
  1. 8 src/FormManglerService.php \Drupal\rabbit_hole\FormManglerService::isEntityBundle()

TODO.

1 call to FormManglerService::isEntityBundle()
FormManglerService::addRabbitHoleOptionsToForm in src/FormManglerService.php
Common functionality for adding rabbit hole options to forms.

File

src/FormManglerService.php, line 500

Class

FormManglerService
Provides necessary form alterations.

Namespace

Drupal\rabbit_hole

Code

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