Static service container wrapper for Field.
Expanded class hierarchy of Field
class Field {
/**
* Returns the field info service.
*
* @return \Drupal\field\FieldInfo
* Returns a field info object.
*/
public static function fieldInfo() {
return Drupal::service('field.info');
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Field:: |
public static | function | Returns the field info service. |