Area.php in Dimension 8
File
src/Plugin/Field/FieldType/Area.php
View source
<?php
namespace Drupal\dimension\Plugin\Field\FieldType;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
use Drupal\dimension\Plugin\Field\AreaTrait;
class Area extends Dimension {
use AreaTrait;
public static function defaultStorageSettings() {
return self::_defaultStorageSettings(self::fields());
}
public static function defaultFieldSettings() {
return self::_defaultFieldSettings(self::fields());
}
public static function propertyDefinitions(FieldStorageDefinitionInterface $field_definition) {
return self::_propertyDefinitions($field_definition, self::fields());
}
public static function schema(FieldStorageDefinitionInterface $field_definition) {
return self::_schema($field_definition, self::fields());
}
}
Classes
Name |
Description |
Area |
Plugin implementation of the 'area_field_type' field type. |