You are here

interface EntityFormModeManagerInterface in Form mode manager 8.2

Interface EntityFormModeManagerInterface.

Hierarchy

Expanded class hierarchy of EntityFormModeManagerInterface

All classes that implement EntityFormModeManagerInterface

1 file declares its use of EntityFormModeManagerInterface
FormModeManagerEntityController.php in src/Controller/FormModeManagerEntityController.php

File

src/EntityFormModeManagerInterface.php, line 10

Namespace

Drupal\form_mode_manager
View source
interface EntityFormModeManagerInterface {

  /**
   * Displays add content links for available entity types.
   *
   * Redirects to entity/add/[bundle] if only one content type is available.
   */
  public function addPage(RouteMatchInterface $route_match);

  /**
   * The _title_callback for the entity.add routes.
   *
   * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
   *   The current route match.
   */
  public function addPageTitle(RouteMatchInterface $route_match);

  /**
   * Checks access for the Form Mode Manager routes.
   *
   * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
   *   The current route match.
   */
  public function checkAccess(RouteMatchInterface $route_match);

  /**
   * The _title_callback for the entity.add routes.
   *
   * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
   *   The current route match.
   */
  public function editPageTitle(RouteMatchInterface $route_match);

  /**
   * Provides the entity add submission form.
   *
   * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
   *   The current route match.
   */
  public function entityAdd(RouteMatchInterface $route_match);

  /**
   * Provides the entity 'edit' form.
   *
   * @param \Drupal\Core\Routing\RouteMatchInterface $route_match
   *   The current route match.
   */
  public function entityEdit(RouteMatchInterface $route_match);

}

Members

Namesort descending Modifiers Type Description Overrides
EntityFormModeManagerInterface::addPage public function Displays add content links for available entity types. 2
EntityFormModeManagerInterface::addPageTitle public function The _title_callback for the entity.add routes. 2
EntityFormModeManagerInterface::checkAccess public function Checks access for the Form Mode Manager routes. 2
EntityFormModeManagerInterface::editPageTitle public function The _title_callback for the entity.add routes. 2
EntityFormModeManagerInterface::entityAdd public function Provides the entity add submission form. 2
EntityFormModeManagerInterface::entityEdit public function Provides the entity 'edit' form. 2