EntityFieldManager::setFieldMap

public EntityFieldManager::setFieldMap(array $field_map)

Sets a lightweight map of fields across bundles.

Parameters

array[] $field_map: See the return value of self::getFieldMap().

Return value

$this

Overrides EntityFieldManagerInterface::setFieldMap

File

core/lib/Drupal/Core/Entity/EntityFieldManager.php, line 417

Class

EntityFieldManager
Manages the discovery of entity fields.

Namespace

Drupal\Core\Entity

Code

public function setFieldMap(array $field_map) {
  $this->fieldMap = $field_map;
  return $this;
}
doc_Drupal
2016-10-29 09:06:01
Comments
Leave a Comment

Please login to continue.