public EntityFieldManagerInterface::getExtraFields($entity_type_id, $bundle)
Gets the "extra fields" for a bundle.
string $entity_type_id: The entity type ID.
string $bundle: The bundle name.
array A nested array of 'pseudo-field' elements. Each list is nested within the following keys: entity type, bundle name, context (either 'form' or 'display'). The keys are the name of the elements as appearing in the renderable array (either the entity form or the displayed entity). The value is an associative array:
public function getExtraFields($entity_type_id, $bundle);
© 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!EntityFieldManagerInterface.php/function/EntityFieldManagerInterface::getExtraFields/8.1.x