Skip to content
Snippets Groups Projects
Commit 95338351 authored by Alex Pott's avatar Alex Pott
Browse files

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
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -73,7 +73,8 @@ public function getFieldStorageDefinitions($entity_type_id); ...@@ -73,7 +73,8 @@ public function getFieldStorageDefinitions($entity_type_id);
* An array keyed by entity type. Each value is an array which keys are * An array keyed by entity type. Each value is an array which keys are
* field names and value is an array with two entries: * field names and value is an array with two entries:
* - type: The field type. * - 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(); public function getFieldMap();
...@@ -97,7 +98,8 @@ public function setFieldMap(array $field_map); ...@@ -97,7 +98,8 @@ public function setFieldMap(array $field_map);
* An array keyed by entity type. Each value is an array which keys are * An array keyed by entity type. Each value is an array which keys are
* field names and value is an array with two entries: * field names and value is an array with two entries:
* - type: The field type. * - 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); public function getFieldMapByFieldType($field_type);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment