Commit 95338351 authored by alexpott's avatar alexpott

Issue #2700491 by er.pushpinderrana, jhodgdon: getFieldMap() should state that...

Issue #2700491 by er.pushpinderrana, jhodgdon: getFieldMap() should state that bundle array has matching keys and values
parent e53b13af
......@@ -73,7 +73,8 @@ public function getFieldStorageDefinitions($entity_type_id);
* An array keyed by entity type. Each value is an array which keys are
* field names and value is an array with two entries:
* - type: The field type.
* - bundles: The bundles in which the field appears.
* - bundles: An associative array of the bundles in which the field
* appears, where the keys and values are both the bundle's machine name.
*/
public function getFieldMap();
......@@ -97,7 +98,8 @@ public function setFieldMap(array $field_map);
* An array keyed by entity type. Each value is an array which keys are
* field names and value is an array with two entries:
* - type: The field type.
* - bundles: The bundles in which the field appears.
* - bundles: An associative array of the bundles in which the field
* appears, where the keys and values are both the bundle's machine name.
*/
public function getFieldMapByFieldType($field_type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment