comparison core/lib/Drupal/Core/Field/FieldItemInterface.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
15:e200cb7efeb3 16:c2387f117808
36 36
37 /** 37 /**
38 * Returns the name of the main property, if any. 38 * Returns the name of the main property, if any.
39 * 39 *
40 * Some field items consist mainly of one main property, e.g. the value of a 40 * Some field items consist mainly of one main property, e.g. the value of a
41 * text field or the @code target_id @endcode of an entity reference. If the 41 * text field or the target_id of an entity reference. If the field item has
42 * field item has no main property, the method returns NULL. 42 * no main property, the method returns NULL.
43 * 43 *
44 * @return string|null 44 * @return string|null
45 * The name of the value property, or NULL if there is none. 45 * The name of the value property, or NULL if there is none.
46 * 46 *
47 * @see \Drupal\Core\Field\BaseFieldDefinition 47 * @see \Drupal\Core\Field\BaseFieldDefinition