MatcherDumper::getRoutes

public MatcherDumper::getRoutes() Gets the routes to match. Return value \Symfony\Component\Routing\RouteCollection A RouteCollection instance representing all routes currently in the dumper. Overrides MatcherDumperInterface::getRoutes File core/lib/Drupal/Core/Routing/MatcherDumper.php, line 166 Class MatcherDumper Dumps Route information to a database table. Namespace Drupal\Core\Routing Code public function getRoutes() { return $this->routes; }

Token::scan

public Token::scan($text) Builds a list of all token-like patterns that appear in the text. Parameters string $text: The text to be scanned for possible tokens. Return value array An associative array of discovered tokens, grouped by type. File core/lib/Drupal/Core/Utility/Token.php, line 236 Class Token Drupal placeholder/token replacement system. Namespace Drupal\Core\Utility Code public function scan($text) { // Matches tokens with the following pattern: [$type:$name] // $type

ConfigurableLanguageInterface::setName

public ConfigurableLanguageInterface::setName($name) Sets the name of the language. Parameters string $name: The human-readable English name of the language. Return value $this File core/modules/language/src/ConfigurableLanguageInterface.php, line 21 Class ConfigurableLanguageInterface Provides an interface defining a language entity. Namespace Drupal\language Code public function setName($name);

INSTALL_TASK_RUN_IF_REACHED

Run the task on each installation request that reaches it. This is primarily used by the Drupal installer for bootstrap-related tasks. File core/includes/install.core.inc, line 53 API functions for installing Drupal. Code const INSTALL_TASK_RUN_IF_REACHED = 2;

$base_root

The root URL of the host, excluding the path. See also \Drupal\Core\DrupalKernel::initializeRequestGlobals() File core/globals.api.php, line 29 These are the global variables that Drupal uses. Code global $base_root;

DbDumpCommand::generateScript

protected DbDumpCommand::generateScript(Connection $connection, array $schema_only = []) Generates the database script. Parameters \Drupal\Core\Database\Connection $connection: The database connection to use. array $schema_only: Table patterns for which to only dump the schema, no data. Return value string The PHP script. The PHP script. File core/lib/Drupal/Core/Command/DbDumpCommand.php, line 75 Class DbDumpCommand Provides a command to dump the current database to a script. Namespac

system_sort_modules_by_info_name

system_sort_modules_by_info_name($a, $b) Array sorting callback; sorts modules by their name. File core/modules/system/system.module, line 1130 Configuration system that lets administrators modify the workings of the site. Code function system_sort_modules_by_info_name($a, $b) { return strcasecmp($a->info['name'], $b->info['name']); }

ContentTranslationManager::getTranslationHandler

ContentTranslationManager::getTranslationHandler($entity_type_id) Returns an instance of the Content translation handler. Parameters string $entity_type_id: The type of the entity being translated. Return value \Drupal\content_translation\ContentTranslationHandlerInterface An instance of the content translation handler. Overrides ContentTranslationManagerInterface::getTranslationHandler File core/modules/content_translation/src/ContentTranslationManager.php, line 43 Class ContentTranslati

BlockContentTypeForm

Base form for category edit forms. 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\BundleEntityFormBaseclass \Drupal\block_content\BlockContentTypeForm File core/modules/block_content/src/BlockContentTypeForm.

ViewExecutable::_postExecute

protected ViewExecutable::_postExecute() Runs the postExecute() on all active handlers. File core/modules/views/src/ViewExecutable.php, line 1010 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code protected function _postExecute() { foreach ($this::getHandlerTypes() as $key => $info) { $handlers = &$this->$key; foreach ($handlers as $id => $handler) { $handlers[$id]->postExecute($this->result); } } }