W3cubDocs

/Drupal 8

public function EntityFieldManagerInterface::setFieldMap

public EntityFieldManagerInterface::setFieldMap(array $field_map)

Sets a lightweight map of fields across bundles.

Parameters

array[] $field_map: See the return value of self::getFieldMap().

Return value

$this

File

core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php, line 84

Class

EntityFieldManagerInterface
Provides an interface for an entity field manager.

Namespace

Drupal\Core\Entity

Code

public function setFieldMap(array $field_map);

© 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::setFieldMap/8.1.x