You are here

public function FlexiformFormEntityBase::getBundle in Flexiform 8

Get the bundle.

Overrides FlexiformFormEntityInterface::getBundle

2 calls to FlexiformFormEntityBase::getBundle()
FlexiformFormEntityBase::checkBundle in src/FormEntity/FlexiformFormEntityBase.php
Check whether a given entity matches bundle required.
FlexiformFormEntityTypedDataReferencedEntity::createEntity in src/Plugin/FlexiformFormEntity/FlexiformFormEntityTypedDataReferencedEntity.php
Create a new entity ready for this situation.
2 methods override FlexiformFormEntityBase::getBundle()
FlexiformFormEntityProvided::getBundle in src/Plugin/FlexiformFormEntity/FlexiformFormEntityProvided.php
Get the bundle.
UserProfile::getBundle in src/Plugin/FlexiformFormEntity/UserProfile.php
Get the bundle.

File

src/FormEntity/FlexiformFormEntityBase.php, line 93

Class

FlexiformFormEntityBase
Provides the base form entity plugin.

Namespace

Drupal\flexiform\FormEntity

Code

public function getBundle() {
  return $this->pluginDefinition['bundle'];
}