RangeItemInterface.php in Range 8
Namespace
Drupal\rangeFile
src/RangeItemInterface.phpView source
<?php
namespace Drupal\range;
use Drupal\Core\Field\FieldItemInterface;
use Drupal\Core\Field\FieldStorageDefinitionInterface;
/**
* An interface for range field types.
*/
interface RangeItemInterface extends FieldItemInterface {
/**
* Helper function. Returns Schema API column specification.
*
* @param \Drupal\Core\Field\FieldStorageDefinitionInterface $field_definition
* The field definition.
*
* @return array
* Schema API column specification.
*/
public static function getColumnSpecification(FieldStorageDefinitionInterface $field_definition);
}
Interfaces
Name | Description |
---|---|
RangeItemInterface | An interface for range field types. |