You are here

interface PublicFieldInfoEntityInterface in RESTful 7.2

Hierarchy

Expanded class hierarchy of PublicFieldInfoEntityInterface

All classes that implement PublicFieldInfoEntityInterface

1 file declares its use of PublicFieldInfoEntityInterface
ResourceFieldEntity.php in src/Plugin/resource/Field/ResourceFieldEntity.php
Contains \Drupal\restful\Plugin\resource\Field\ResourceFieldEntity

File

src/Plugin/resource/Field/PublicFieldInfo/PublicFieldInfoEntityInterface.php, line 10
Contains \Drupal\restful\Plugin\resource\Field\PublicFieldInfo\PublicFieldInfoEntityInterface.

Namespace

Drupal\restful\Plugin\resource\Field\PublicFieldInfo
View source
interface PublicFieldInfoEntityInterface extends PublicFieldInfoInterface {

  /**
   * Get allowed values for the form schema.
   *
   * Using Field API's "Options" module to get the allowed values.
   *
   * @return mixed
   *   The allowed values or NULL if none found.
   */
  public function getFormSchemaAllowedValues();

  /**
   * Get the form type for the form schema.
   *
   * Using Field API's "Options" module to get the allowed values.
   *
   * @return mixed
   *   The form element type.
   */
  public function getFormSchemaAllowedType();

}

Members

Namesort descending Modifiers Type Description Overrides
PublicFieldInfoEntityInterface::getFormSchemaAllowedType public function Get the form type for the form schema. 1
PublicFieldInfoEntityInterface::getFormSchemaAllowedValues public function Get allowed values for the form schema. 1
PublicFieldInfoInterface::addCategory public function Add categories to the field info. 2
PublicFieldInfoInterface::addSectionDefaults public function Merges default data in a section if it's not populated. 2
PublicFieldInfoInterface::getSection public function Gets the section. 2
PublicFieldInfoInterface::prepare public function Generates an structured array ready to be encoded. 2