You are here

interface FieldInterface in Lightgallery 8

Field interface.

Hierarchy

Expanded class hierarchy of FieldInterface

All classes that implement FieldInterface

File

src/Field/FieldInterface.php, line 8

Namespace

Drupal\lightgallery\Field
View source
interface FieldInterface {

  /**
   * Returns field name.
   */
  public function getName();

  /**
   * Returns field title.
   */
  public function getTitle();

  /**
   * Returns field type.
   */
  public function getType();

  /**
   * Returns field description.
   */
  public function getDescription();

  /**
   * Returns if field is required.
   */
  public function isRequired();

  /**
   * Returns where the field has to be rendered in view settings.
   */
  public function appliesToViews();

  /**
   * Returns where the field has to be rendered in field formatter settings.
   */
  public function appliesToFieldFormatter();

  /**
   * Returns field group (parent).
   */
  public function getGroup();

  /**
   * Returns field default value.
   */
  public function getDefaultValue();

  /**
   * Returns field options callback.
   */
  public function getOptions();

}

Members

Namesort descending Modifiers Type Description Overrides
FieldInterface::appliesToFieldFormatter public function Returns where the field has to be rendered in field formatter settings. 1
FieldInterface::appliesToViews public function Returns where the field has to be rendered in view settings. 1
FieldInterface::getDefaultValue public function Returns field default value. 1
FieldInterface::getDescription public function Returns field description. 1
FieldInterface::getGroup public function Returns field group (parent). 1
FieldInterface::getName public function Returns field name. 1
FieldInterface::getOptions public function Returns field options callback. 1
FieldInterface::getTitle public function Returns field title. 1
FieldInterface::getType public function Returns field type. 1
FieldInterface::isRequired public function Returns if field is required. 1