You are here

class EntityRoutingMap in Form mode manager 8.2

Same name and namespace in other branches
  1. 8 src/Annotation/EntityRoutingMap.php \Drupal\form_mode_manager\Annotation\EntityRoutingMap

Defines form mode manager annotation object.

Hierarchy

Expanded class hierarchy of EntityRoutingMap

See also

hook_form_mode_manager_display_info_alter()

5 classes are annotated with EntityRoutingMap
BlockContent in src/Plugin/EntityRoutingMap/BlockContent.php
Class BlockContent.
Generic in src/Plugin/EntityRoutingMap/Generic.php
Class Generic routing entity mapper.
Node in src/Plugin/EntityRoutingMap/Node.php
Class Node.
Term in src/Plugin/EntityRoutingMap/Term.php
Class Term.
User in src/Plugin/EntityRoutingMap/User.php
Class User.

File

src/Annotation/EntityRoutingMap.php, line 14

Namespace

Drupal\form_mode_manager\Annotation
View source
class EntityRoutingMap extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The human-readable name of the display.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * Gets the target entity type.
   *
   * @var string
   */
  public $targetEntityType;

  /**
   * Name of Add EntityForm class.
   *
   * @var string
   */
  public $defaultFormClass = 'default';

  /**
   * Name of Edit EntityForm class.
   *
   * @var string
   */
  public $editFormClass = 'edit';

  /**
   * A mapping of entity form operation available for that entity.
   *
   * @var array[]
   */
  public $operations = [];

  /**
   * A mapping of entity contextual links available for that entity.
   *
   * @var array[]
   */
  public $contextualLinks = [];

}

Members

Namesort descending Modifiers Type Description Overrides
EntityRoutingMap::$contextualLinks public property A mapping of entity contextual links available for that entity.
EntityRoutingMap::$defaultFormClass public property Name of Add EntityForm class.
EntityRoutingMap::$editFormClass public property Name of Edit EntityForm class.
EntityRoutingMap::$id public property The plugin ID.
EntityRoutingMap::$label public property The human-readable name of the display.
EntityRoutingMap::$operations public property A mapping of entity form operation available for that entity.
EntityRoutingMap::$targetEntityType public property Gets the target entity type.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2