function EntityFieldManagerInterface::setFieldMap

Same name in other branches
  1. 9 core/lib/Drupal/Core/Entity/EntityFieldManagerInterface.php \Drupal\Core\Entity\EntityFieldManagerInterface::setFieldMap()
  2. 10 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

2 methods override EntityFieldManagerInterface::setFieldMap()
EntityFieldManager::setFieldMap in core/lib/Drupal/Core/Entity/EntityFieldManager.php
Sets a lightweight map of fields across bundles.
EntityManager::setFieldMap in core/lib/Drupal/Core/Entity/EntityManager.php

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.