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
1 2 3 4 | public function setFieldMap( array $field_map ) { $this ->fieldMap = $field_map ; return $this ; } |
Please login to continue.