You are here

class EntityFormModeController in Form mode manager 8

Controller for entity form mode support.

Hierarchy

Expanded class hierarchy of EntityFormModeController

See also

\Drupal\form_mode_manager\Routing\RouteSubscriber

\Drupal\form_mode_manager\Plugin\Derivative\FormModeManagerLocalAction

\Drupal\form_mode_manager\Plugin\Derivative\FormModeManagerLocalTasks

File

src/Controller/EntityFormModeController.php, line 12

Namespace

Drupal\form_mode_manager\Controller
View source
class EntityFormModeController extends EntityFormModeBase {

}

Members

Namesort descending Modifiers Type Description Overrides
EntityFormModeBase::$account protected property The current user.
EntityFormModeBase::$dateFormatter protected property The date formatter service.
EntityFormModeBase::$entityFormBuilder protected property The entity form builder service.
EntityFormModeBase::$entityRoutingMap protected property The Routes Manager Plugin.
EntityFormModeBase::$entityTypeManager protected property The entity type manager service.
EntityFormModeBase::$formBuilder protected property The form builder.
EntityFormModeBase::$formModeManager protected property The entity display repository.
EntityFormModeBase::$renderer protected property The renderer service.
EntityFormModeBase::addPage public function Displays add content links for available entity types.
EntityFormModeBase::addPageTitle public function The _title_callback for the entity.add routes. 1
EntityFormModeBase::checkAccess public function Checks access for the Form Mode Manager routes.
EntityFormModeBase::create public static function Instantiates a new instance of this class. Overrides ContainerInjectionInterface::create
EntityFormModeBase::editPageTitle public function The _title_callback for the entity.add routes. 1
EntityFormModeBase::entityAdd public function Provides the entity add submission form. 1
EntityFormModeBase::entityEdit public function Provides the entity 'edit' form. 1
EntityFormModeBase::getEntityBundle private function Get EntityStorage of entity.
EntityFormModeBase::getEntityFromRouteMatch protected function Retrieves entity from route match.
EntityFormModeBase::getEntityTypeFromRouteMatch protected function Retrieves entity from route match. 1
EntityFormModeBase::getForm public function Gets the built and processed entity form for the given entity.
EntityFormModeBase::getFormModeOperationName public function Retrieve the operation (form mode) name in edit context.
EntityFormModeBase::pageTitle public function The _title_callback for the entity.add routes. 1
EntityFormModeBase::__construct public function Constructs a EntityFormModeController object.
StringTranslationTrait::$stringTranslation protected property The string translation service. 1
StringTranslationTrait::formatPlural protected function Formats a string containing a count of items.
StringTranslationTrait::getNumberOfPlurals protected function Returns the number of plurals supported by a given language.
StringTranslationTrait::getStringTranslation protected function Gets the string translation service.
StringTranslationTrait::setStringTranslation public function Sets the string translation service to use. 2
StringTranslationTrait::t protected function Translates a string to the current language or to a given language.
UrlGeneratorTrait::$urlGenerator protected property The url generator.
UrlGeneratorTrait::getUrlGenerator Deprecated protected function Returns the URL generator service.
UrlGeneratorTrait::redirect Deprecated protected function Returns a redirect response object for the specified route. 3
UrlGeneratorTrait::setUrlGenerator Deprecated public function Sets the URL generator service.
UrlGeneratorTrait::url Deprecated protected function Generates a URL or path for a specific route based on the given parameters.