public EntityType::getBundleOf()
Gets the entity type for which this entity provides bundles.
It can be used by other modules to act accordingly; for example, the Field UI module uses it to add operation links to manage fields and displays.
string|null The entity type for which this entity provides bundles, or NULL if does not provide bundles for another entity type.
Overrides EntityTypeInterface::getBundleOf
public function getBundleOf() { return $this->bundle_of; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityType.php/function/EntityType::getBundleOf/8.1.x