ParamConversionEnhancer::onException

public ParamConversionEnhancer::onException(GetResponseForExceptionEvent $event) Catches failed parameter conversions and throw a 404 instead. Parameters \Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent $event: File core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php, line 77 Class ParamConversionEnhancer Provides a route enhancer that handles parameter conversion. Namespace Drupal\Core\Routing\Enhancer Code public function onException(GetResponseForExcep

PageDisplayVariantSelectionEvent::$routeMatch

The current route match. Type: \Drupal\Core\Routing\RouteMatchInterface File core/lib/Drupal/Core/Render/PageDisplayVariantSelectionEvent.php, line 45 Class PageDisplayVariantSelectionEvent Event fired when rendering main content, to select a page display variant. Namespace Drupal\Core\Render Code protected $routeMatch;

ThemeNegotiatorInterface::determineActiveTheme

public ThemeNegotiatorInterface::determineActiveTheme(RouteMatchInterface $route_match) Determine the active theme for the request. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match object. Return value string|null The name of the theme, or NULL if other negotiators, like the configured default one, should be used instead. File core/lib/Drupal/Core/Theme/ThemeNegotiatorInterface.php, line 46 Class ThemeNegotiatorInterface Defines an interface for c

DbLogController::__construct

public DbLogController::__construct(Connection $database, ModuleHandlerInterface $module_handler, DateFormatterInterface $date_formatter, FormBuilderInterface $form_builder) Constructs a DbLogController object. Parameters \Drupal\Core\Database\Connection $database: A database connection. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: A module handler. \Drupal\Core\Datetime\DateFormatterInterface $date_formatter: The date formatter service. \Drupal\Core\Form\FormBuilderInterface

LocaleConfigManager::deleteTranslationOverride

protected LocaleConfigManager::deleteTranslationOverride($name, $langcode) Deletes translated configuration data. Parameters string $name: Configuration object name. string $langcode: Language code. File core/modules/locale/src/LocaleConfigManager.php, line 283 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code protected function deleteTranslationOverride($name, $langcode) { $this->isUpdatingFromLocale = TRUE;

LocalTaskDefault::getTitle

public LocalTaskDefault::getTitle(Request $request = NULL) Returns the localized title to be shown for this tab. Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver. Return value string The title of the local task. Overrides LocalTaskInterface::getTitle File core/lib/Drupal/Core/Menu/LocalTaskDefault.php, line 77 Class LocalTaskDefault Default object used for LocalTaskPlugins. Namespace Drupal\Core\Menu Code public func

EntityForm::copyFormValuesToEntity

protected EntityForm::copyFormValuesToEntity(EntityInterface $entity, array $form, FormStateInterface $form_state) Copies top-level form values to entity properties This should not change existing entity properties that are not being edited by this form. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the current form should operate upon. array $form: A nested array of form elements comprising the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of t

ViewFormBase::buildForm

public ViewFormBase::buildForm(array $form, FormStateInterface $form_state, $display_id = NULL) 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 EntityForm::buildForm File core/modules/views_ui/src/ViewFormBase.php, line 36 Class ViewFormBase Base form for Views forms. Namespace Drupal\views_ui Code publi

EntityViewBuilder::$entityManager

The entity manager service. Type: \Drupal\Core\Entity\EntityManagerInterface File core/lib/Drupal/Core/Entity/EntityViewBuilder.php, line 41 Class EntityViewBuilder Base class for entity view builders. Namespace Drupal\Core\Entity Code protected $entityManager;

ConfigTranslationController::$router

The dynamic router service. Type: \Symfony\Component\Routing\Matcher\RequestMatcherInterface File core/modules/config_translation/src/Controller/ConfigTranslationController.php, line 46 Class ConfigTranslationController Provides page callbacks for the configuration translation interface. Namespace Drupal\config_translation\Controller Code protected $router;