ReindexConfirm::getCancelUrl

public ReindexConfirm::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/search/src/Form/ReindexConfirm.php, line 52 Class ReindexConfirm Provides the search reindex confirmation form. Namespace Drupal\search\Form Code public function getCancelUrl() { return new Url('entity.search_page.collection'); }

ReindexConfirm::getCancelText

public ReindexConfirm::getCancelText() Returns a caption for the link which cancels the action. Return value string The form cancellation text. Overrides ConfirmFormBase::getCancelText File core/modules/search/src/Form/ReindexConfirm.php, line 45 Class ReindexConfirm Provides the search reindex confirmation form. Namespace Drupal\search\Form Code public function getCancelText() { return $this->t('Cancel'); }

ReindexConfirm

Provides the search reindex confirmation form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Form\ConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\search\Form\ReindexConfirm File core/modules/search/src/Form/ReindexConfirm.php, line 12 Namespace Drupal\search\Form

Registry::__construct

public Registry::__construct($root, CacheBackendInterface $cache, LockBackendInterface $lock, ModuleHandlerInterface $module_handler, ThemeHandlerInterface $theme_handler, ThemeInitializationInterface $theme_initialization, $theme_name = NULL) Constructs a \Drupal\Core\Theme\Registry object. Parameters string $root: The app root. \Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend interface to use for the complete theme registry data. \Drupal\Core\Lock\LockBackendInterface $lock

Registry::setThemeManager

public Registry::setThemeManager(ThemeManagerInterface $theme_manager) Sets the theme manager. Parameters \Drupal\Core\Theme\ThemeManagerInterface $theme_manager: The theme manager. File core/lib/Drupal/Core/Theme/Registry.php, line 177 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code public function setThemeManager(ThemeManagerInterface $theme_manager) { $this->themeManager = $theme_manager; }

Registry::setCache

protected Registry::setCache() Persists the theme registry in the cache backend. File core/lib/Drupal/Core/Theme/Registry.php, line 250 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code protected function setCache() { $this->cache->set('theme_registry:' . $this->theme->getName(), $this->registry[$this->theme->getName()], Cache::PERMANENT, array('theme_registry')); }

Registry::reset

public Registry::reset() Invalidates theme registry caches. To be called when the list of enabled extensions is changed. File core/lib/Drupal/Core/Theme/Registry.php, line 723 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code public function reset() { // Reset the runtime registry. foreach ($this->runtimeRegistry as $runtime_registry) { $runtime_registry->clear(); } $this->runtimeRegistry = []; $this->registry = []; Cache::

Registry::processExtension

protected Registry::processExtension(array &$cache, $name, $type, $theme, $path) Process a single implementation of hook_theme(). Parameters array $cache: The theme registry that will eventually be cached; It is an associative array keyed by theme hooks, whose values are associative arrays describing the hook: 'type': The passed-in $type. 'theme path': The passed-in $path. 'function': The name of the function generating output for this theme hook. Either defined explicitly in hook_theme

Registry::postProcessExtension

protected Registry::postProcessExtension(array &$cache, ActiveTheme $theme) Completes the theme registry adding discovered functions and hooks. Parameters array $cache: The theme registry as documented in \Drupal\Core\Theme\Registry::processExtension(). \Drupal\Core\Theme\ActiveTheme $theme: Current active theme. See also ::processExtension() File core/lib/Drupal/Core/Theme/Registry.php, line 635 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code

Registry::init

protected Registry::init($theme_name = NULL) Initializes a theme with a certain name. This function does to much magic, so it should be replaced by another services which holds the current active theme information. Parameters string $theme_name: (optional) The name of the theme for which to construct the registry. File core/lib/Drupal/Core/Theme/Registry.php, line 190 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code protected function init($theme_nam