function EntityFieldManagerInterface::setFieldMap

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php \Drupal\Core\Entity\EntityFieldManagerInterface::setFieldMap()
  2. 8.9.x core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php \Drupal\Core\Entity\EntityFieldManagerInterface::setFieldMap()
  3. 11.x core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php \Drupal\Core\Entity\EntityFieldManagerInterface::setFieldMap()

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);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.