You are here

public function EntityFieldManagerInterface::setFieldMap in Drupal 9

Same name and namespace in other branches
  1. 8 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);