public function UserProfile::getBundle in Flexiform 8
Get the bundle.
Overrides FlexiformFormEntityBase::getBundle
2 calls to UserProfile::getBundle()
- UserProfile::createEntity in src/
Plugin/ FlexiformFormEntity/ UserProfile.php - Create a new entity ready for this situation.
- UserProfile::getEntity in src/
Plugin/ FlexiformFormEntity/ UserProfile.php - Get the Entity.
File
- src/
Plugin/ FlexiformFormEntity/ UserProfile.php, line 69
Class
- UserProfile
- Form Entity for getting profiles from a user object.
Namespace
Drupal\flexiform\Plugin\FlexiformFormEntityCode
public function getBundle() {
return $this->pluginDefinition['profile_type'];
}