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. 10 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

1 method overrides EntityFieldManagerInterface::setFieldMap()
EntityFieldManager::setFieldMap in core/lib/Drupal/Core/Entity/EntityFieldManager.php
Sets a lightweight map of fields across bundles.

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.