You are here

public static function LengthTrait::fields in Dimension 8

Same name and namespace in other branches
  1. 2.1.x src/Plugin/Field/LengthTrait.php \Drupal\dimension\Plugin\Field\LengthTrait::fields()
  2. 2.0.x src/Plugin/Field/LengthTrait.php \Drupal\dimension\Plugin\Field\LengthTrait::fields()
5 calls to LengthTrait::fields()
Length::defaultFieldSettings in src/Plugin/Field/FieldType/Length.php
Defines the field-level settings for this plugin.
Length::defaultSettings in src/Plugin/Field/FieldWidget/Length.php
Defines the default settings for this plugin.
Length::defaultStorageSettings in src/Plugin/Field/FieldType/Length.php
Defines the storage-level settings for this plugin.
Length::propertyDefinitions in src/Plugin/Field/FieldType/Length.php
Defines field item properties.
Length::schema in src/Plugin/Field/FieldType/Length.php
Returns the schema for the field.

File

src/Plugin/Field/LengthTrait.php, line 10

Class

LengthTrait

Namespace

Drupal\dimension\Plugin\Field

Code

public static function fields() : array {
  return array(
    'length' => t('Length'),
  );
}