BanDelete::create

public static BanDelete::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 contai

CssOptimizer::rewriteFileURI

public CssOptimizer::rewriteFileURI($matches) Prefixes all paths within a CSS file for processFile(). Note: the only reason this method is public is so color.module can call it; it is not on the AssetOptimizerInterface, so future refactorings can make it protected. Parameters array $matches: An array of matches by a preg_replace_callback() call that scans for url() references in CSS files, except for external or absolute ones. Return value string The file path. File core/lib/Drupal/Core/Asset

ConfigCacheTag::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/modules/system/src/EventSubscriber/ConfigCacheTag.php, line 21 Class ConfigCacheTag A subscriber invalidating cache tags when system config objects are saved. Namespace Drupal\system\EventSubscriber Code protected $themeHandler;

ConfigFactory::reset

public ConfigFactory::reset($name = NULL) Resets and re-initializes configuration objects. Internal use only. Parameters string|null $name: (optional) The name of the configuration object to reset. If omitted, all configuration objects are reset. Return value $this Overrides ConfigFactoryInterface::reset File core/lib/Drupal/Core/Config/ConfigFactory.php, line 231 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code public function reset($na

FormattableMarkup::jsonSerialize

public FormattableMarkup::jsonSerialize() Returns a representation of the object for use in JSON serialization. Return value string The safe string content. File core/lib/Drupal/Component/Render/FormattableMarkup.php, line 112 Class FormattableMarkup Formats a string for HTML display by replacing variable placeholders. Namespace Drupal\Component\Render Code public function jsonSerialize() { return $this->__toString(); }

drupal_get_destination

drupal_get_destination() Prepares a 'destination' URL query parameter. Used to direct the user back to the referring page after completing a form. By default the current URL is returned. If a destination exists in the previous request, that destination is returned. As such, a destination can persist across multiple pages. Return value array An associative array containing the key: destination: The value of the current request's 'destination' query parameter, if present. This can be either a r

admin.inc

Provides the Views' administrative interface. File core/modules/views_ui/admin.inc Functions Name Description views_ui_add_ajax_trigger Converts a form element in the add view wizard to be AJAX-enabled. views_ui_add_ajax_wrapper After-build function that adds a wrapper to a form region (for AJAX refreshes). views_ui_add_limited_validation Processes a non-JavaScript fallback submit button to limit its validation errors. views_ui_ajax_update_form Updates a part of the add vi

PoStreamWriter::setURI

public PoStreamWriter::setURI($uri) Set the URI of the PO stream that is going to be read or written. Parameters $uri: URI string to set for this stream. Overrides PoStreamInterface::setURI File core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 153 Class PoStreamWriter Defines a Gettext PO stream writer. Namespace Drupal\Component\Gettext Code public function setURI($uri) { $this->_uri = $uri; }

DbLog::DEDICATED_DBLOG_CONNECTION_TARGET

The dedicated database connection target to use for log entries. File core/modules/dblog/src/Logger/DbLog.php, line 24 Class DbLog Logs events in the watchdog database table. Namespace Drupal\dblog\Logger Code const DEDICATED_DBLOG_CONNECTION_TARGET = 'dedicated_dblog';

node_type_load

node_type_load($name) Menu argument loader: Loads a node type by string. Parameters $name: The machine name of a node type to load. Return value \Drupal\node\NodeTypeInterface A node type object or NULL if $name does not exist. Deprecated in Drupal 8.x, will be removed before Drupal 9.0. Use \Drupal\node\Entity\NodeType::load(). File core/modules/node/node.module, line 307 The core module that allows content to be submitted to the site. Code function node_type_load($name) { return Node