You are here

public function EntityFieldManagerInterface::setFieldMap in Drupal 8

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