BreakLockForm::getCancelUrl

public BreakLockForm::getCancelUrl() Returns the route to go to if the user cancels the action. Return value \Drupal\Core\Url A URL object. Overrides ConfirmFormInterface::getCancelUrl File core/modules/views_ui/src/Form/BreakLockForm.php, line 83 Class BreakLockForm Builds the form to break the lock of an edited view. Namespace Drupal\views_ui\Form Code public function getCancelUrl() { return $this->entity->urlInfo('edit-form'); }

BreakLockForm::create

public static BreakLockForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service co

BreakLockForm::buildForm

public BreakLockForm::buildForm(array $form, FormStateInterface $form_state) Form constructor. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value array The form structure. Overrides EntityConfirmFormBase::buildForm File core/modules/views_ui/src/Form/BreakLockForm.php, line 97 Class BreakLockForm Builds the form to break the lock of an edited view. Namespace Dr

BreakLockForm::$tempStore

Stores the user tempstore. Type: \Drupal\user\SharedTempStore File core/modules/views_ui/src/Form/BreakLockForm.php, line 28 Class BreakLockForm Builds the form to break the lock of an edited view. Namespace Drupal\views_ui\Form Code protected $tempStore;

BreakLockForm::$entityManager

Stores the Entity manager. Type: \Drupal\Core\Entity\EntityManagerInterface Overrides EntityForm::$entityManager File core/modules/views_ui/src/Form/BreakLockForm.php, line 21 Class BreakLockForm Builds the form to break the lock of an edited view. Namespace Drupal\views_ui\Form Code protected $entityManager;

BreakLockForm

Builds the form to break the lock of an edited view. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\views_ui\Form\BreakLockForm File core/mod

BreadcrumbManager::__construct

public BreadcrumbManager::__construct(ModuleHandlerInterface $module_handler) Constructs a \Drupal\Core\Breadcrumb\BreadcrumbManager object. Parameters \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler. File core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php, line 49 Class BreadcrumbManager Provides a breadcrumb manager. Namespace Drupal\Core\Breadcrumb Code public function __construct(ModuleHandlerInterface $module_handler) { $this->moduleHandl

BreadcrumbManager::getSortedBuilders

protected BreadcrumbManager::getSortedBuilders() Returns the sorted array of breadcrumb builders. Return value \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface[] An array of breadcrumb builder objects. File core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php, line 105 Class BreadcrumbManager Provides a breadcrumb manager. Namespace Drupal\Core\Breadcrumb Code protected function getSortedBuilders() { if (!isset($this->sortedBuilders)) { // Sort the builders according to pr

BreadcrumbManager::build

public BreadcrumbManager::build(RouteMatchInterface $route_match) Builds the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value \Drupal\Core\Breadcrumb\Breadcrumb A breadcrumb. Overrides BreadcrumbBuilderInterface::build File core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php, line 72 Class BreadcrumbManager Provides a breadcrumb manager. Namespace Drupal\Core\Breadcrumb Code public function build(RouteMatchInterface

BreadcrumbManager::applies

public BreadcrumbManager::applies(RouteMatchInterface $route_match) Whether this breadcrumb builder should be used to build the breadcrumb. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. Return value bool TRUE if this builder should be used or FALSE to let other builders decide. Overrides BreadcrumbBuilderInterface::applies File core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php, line 65 Class BreadcrumbManager Provides a breadcrumb manager.