RouteProcessorManager

Route processor manager. Holds an array of route processor objects and uses them to sequentially process an outbound route, in order of processor priority. Hierarchy class \Drupal\Core\RouteProcessor\RouteProcessorManager implements OutboundRouteProcessorInterface File core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php, line 14 Namespace Drupal\Core\RouteProcessor Members Name Modifiers Type Description RouteProcessorManager::$outboundProcessors protected proper

PhpArrayContainer::__construct

public PhpArrayContainer::__construct(array $container_definition = array()) Constructs a new Container instance. Parameters array $container_definition: An array containing the following keys: aliases: The aliases of the container. parameters: The parameters of the container. services: The service definitions of the container. frozen: Whether the container definition came from a frozen container builder or not. machine_format: Whether this container definition uses the optimized machine-

TwigPhpStorageCache::__construct

public TwigPhpStorageCache::__construct(CacheBackendInterface $cache, $twig_extension_hash) Store cache backend and other information internally. Parameters \Drupal\Core\Cache\CacheBackendInterface $cache: The cache bin. string $twig_extension_hash: The Twig extension hash. File core/lib/Drupal/Core/Template/TwigPhpStorageCache.php, line 49 Class TwigPhpStorageCache Provides an alternate cache storage for Twig using PhpStorage. Namespace Drupal\Core\Template Code public function __con

_locale_translation_batch_status_operations

_locale_translation_batch_status_operations($projects, $langcodes, $options = array()) Helper function to construct batch operations checking remote translation status. Parameters array $projects: Array of project names to be processed. array $langcodes: Array of language codes. array $options: Batch processing options. Return value array Array of batch operations. File core/modules/locale/locale.compare.inc, line 266 The API for comparing project translation status with available translation

drupal_get_updaters

drupal_get_updaters() Assembles the Drupal Updater registry. An Updater is a class that knows how to update various parts of the Drupal file system, for example to update modules that have newer releases, or to install a new theme. Return value array The Drupal Updater class registry. See also \Drupal\Core\Updater\Updater hook_updater_info() hook_updater_info_alter() File core/includes/common.inc, line 1268 Common functions that many Drupal modules will need to reference. Code function drup

BookManagerInterface::checkNodeIsRemovable

public BookManagerInterface::checkNodeIsRemovable(NodeInterface $node) Determines if a node can be removed from the book. A node can be removed from a book if it is actually in a book and it either is not a top-level page or is a top-level page with no children. Parameters \Drupal\node\NodeInterface $node: The node to remove from the outline. Return value bool TRUE if a node can be removed from the book, FALSE otherwise. File core/modules/book/src/BookManagerInterface.php, line 294 Class

Number::alphadecimalToInt

public static Number::alphadecimalToInt($string = '00') Decodes a sorting code back to an integer. Parameters string $string: The alpha decimal value to convert Return value int The integer value. See also \Drupal\Component\Utility\Number::intToAlphadecimal File core/lib/Drupal/Component/Utility/Number.php, line 97 Class Number Provides helper methods for manipulating numbers. Namespace Drupal\Component\Utility Code public static function alphadecimalToInt($string = '00') { return

locale_translation_flush_projects

locale_translation_flush_projects() Clear the project data table. File core/modules/locale/locale.compare.inc, line 20 The API for comparing project translation status with available translation. Code function locale_translation_flush_projects() { \Drupal::service('locale.project')->deleteAll(); }

ResponsiveImageStyleForm::validateForm

public ResponsiveImageStyleForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/responsive_image/src/ResponsiveImageStyleForm.php, line 217 Class ResponsiveImageStyleForm Form controller for the responsive image edit/add forms. Namespa

InstallStorage::listAll

public InstallStorage::listAll($prefix = '') Gets configuration object names starting with a given prefix. Given the following configuration objects: node.type.article node.type.page Passing the prefix 'node.type.' will return an array containing the above names. Parameters string $prefix: (optional) The prefix to search for. If omitted, all configuration object names that exist are returned. Return value array An array containing matching configuration object names. Overrides FileStorage::