You are here

class MetaType in Easymeta 8

Class to describes Metas.

Hierarchy

Expanded class hierarchy of MetaType

1 file declares its use of MetaType
EasyMetaForm.php in src/Form/EasyMetaForm.php

File

src/MetaType.php, line 8

Namespace

Drupal\easymeta
View source
class MetaType {
  protected $id;
  protected $name;
  protected $label;
  protected $fieldType;
  protected $meta;
  protected $property;
  protected $isTitle;
  protected $options;
  protected $defaultValue;
  protected $tag;
  protected $nameProperty;

  /**
   * Get Id.
   *
   * @return mixed
   *   MetaType Id.
   */
  public function getId() {
    return $this->id;
  }

  /**
   * Set MetaType Id.
   *
   * @param mixed $id
   *   MetaType Id.
   */
  public function setId($id) {
    $this->id = $id;
  }

  /**
   * Get MetaType name.
   *
   * @return mixed
   *   MetaType Name.
   */
  public function getName() {
    return $this->name;
  }

  /**
   * Set MetaType name.
   *
   * @param mixed $name
   *   MetaType Name.
   */
  public function setName($name) {
    $this->name = $name;
  }

  /**
   * Get MetaType label.
   *
   * @return mixed
   *   MetaType Label.
   */
  public function getLabel() {
    return $this->label;
  }

  /**
   * Set MetaType label.
   *
   * @param mixed $label
   *   MetaType Label.
   */
  public function setLabel($label) {
    $this->label = $label;
  }

  /**
   * Get MetaType Field type.
   *
   * @return mixed
   *   MetaType Field Type.
   */
  public function getFieldType() {
    return $this->fieldType;
  }

  /**
   * Set MetaType FieldType.
   *
   * @param mixed $field_type
   *   MetaType Field Type.
   */
  public function setFieldType($field_type) {
    $this->fieldType = $field_type;
  }

  /**
   * Get MetaType Meta.
   *
   * @return Meta
   *   MetaType Meta.
   */
  public function getMeta() {
    return $this->meta;
  }

  /**
   * Set MetaType Meta.
   *
   * @param Meta $meta
   *   MetaType Meta.
   */
  public function setMeta(Meta $meta) {
    $this->meta = $meta;
  }

  /**
   * Get MetaType Property.
   *
   * @return mixed
   *   MetaType Property.
   */
  public function getProperty() {
    return $this->property;
  }

  /**
   * Set MetaType Property.
   *
   * @param mixed $property
   *   MetaType Property.
   */
  public function setProperty($property) {
    $this->property = $property;
  }

  /**
   * Get MetaType IsTitle. Boolean to indicate if this is the title Meta.
   *
   * @return mixed
   *   MetaType IsTitle.
   */
  public function getIsTitle() {
    return $this->isTitle;
  }

  /**
   * Set MetaType IsTitle. Boolean to indicate if this is the title Meta.
   *
   * @param mixed $is_title
   *   MetaType IsTitle.
   */
  public function setIsTitle($is_title) {
    $this->isTitle = $is_title;
  }

  /**
   * Get MetaType Options. Used for the select form element.
   *
   * @return mixed
   *   MetaType options.
   */
  public function getOptions() {
    return $this->options;
  }

  /**
   * Set MetaType Options. Used for the select form element.
   *
   * @param mixed $options
   *   MetaType options.
   */
  public function setOptions($options) {
    $this->options = $options;
  }

  /**
   * Get MetaType default value for the form.
   *
   * @return mixed
   *   MetaType Default value.
   */
  public function getDefaultValue() {
    return $this->defaultValue;
  }

  /**
   * Set MetaType default value for the form.
   *
   * @param mixed $default_value
   *   MetaType Default value.
   */
  public function setDefaultValue($default_value) {
    $this->defaultValue = $default_value;
  }

  /**
   * Get MetaType Tag.
   *
   * @return mixed
   *   MetaType Tag.
   */
  public function getTag() {
    return $this->tag;
  }

  /**
   * Set MetaType Tag.
   *
   * @param mixed $tag
   *   MetaType Tag.
   */
  public function setTag($tag) {
    $this->tag = $tag;
  }

  /**
   * Get MetaType NameProperty.
   *
   * @return mixed
   *   MetaType NameProperty.
   */
  public function getNameProperty() {
    return $this->nameProperty;
  }

  /**
   * Set MetaType NameProperty.
   *
   * @param mixed $name_property
   *   MetaType NameProperty.
   */
  public function setNameProperty($name_property) {
    $this->nameProperty = $name_property;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
MetaType::$defaultValue protected property
MetaType::$fieldType protected property
MetaType::$id protected property
MetaType::$isTitle protected property
MetaType::$label protected property
MetaType::$meta protected property
MetaType::$name protected property
MetaType::$nameProperty protected property
MetaType::$options protected property
MetaType::$property protected property
MetaType::$tag protected property
MetaType::getDefaultValue public function Get MetaType default value for the form.
MetaType::getFieldType public function Get MetaType Field type.
MetaType::getId public function Get Id.
MetaType::getIsTitle public function Get MetaType IsTitle. Boolean to indicate if this is the title Meta.
MetaType::getLabel public function Get MetaType label.
MetaType::getMeta public function Get MetaType Meta.
MetaType::getName public function Get MetaType name.
MetaType::getNameProperty public function Get MetaType NameProperty.
MetaType::getOptions public function Get MetaType Options. Used for the select form element.
MetaType::getProperty public function Get MetaType Property.
MetaType::getTag public function Get MetaType Tag.
MetaType::setDefaultValue public function Set MetaType default value for the form.
MetaType::setFieldType public function Set MetaType FieldType.
MetaType::setId public function Set MetaType Id.
MetaType::setIsTitle public function Set MetaType IsTitle. Boolean to indicate if this is the title Meta.
MetaType::setLabel public function Set MetaType label.
MetaType::setMeta public function Set MetaType Meta.
MetaType::setName public function Set MetaType name.
MetaType::setNameProperty public function Set MetaType NameProperty.
MetaType::setOptions public function Set MetaType Options. Used for the select form element.
MetaType::setProperty public function Set MetaType Property.
MetaType::setTag public function Set MetaType Tag.