LoggerChannel::__construct

public LoggerChannel::__construct($channel) Constructs a LoggerChannel object Parameters string $channel: The channel name for this instance. File core/lib/Drupal/Core/Logger/LoggerChannel.php, line 87 Class LoggerChannel Defines a logger channel that most implementations will use. Namespace Drupal\Core\Logger Code public function __construct($channel) { $this->channel = $channel; }

Views::getView

public static Views::getView($id) Loads a view from configuration and returns its executable object. Parameters string $id: The view ID to load. Return value \Drupal\views\ViewExecutable A view executable instance, from the loaded entity. File core/modules/views/src/Views.php, line 121 Class Views Static service container wrapper for views. Namespace Drupal\views Code public static function getView($id) { $view = \Drupal::service('entity.manager')->getStorage('view')->load($i

FieldStorageConfig::$locked

Flag indicating whether the field is available for editing. If TRUE, some actions not available though the UI (but are still possible through direct API manipulation): field settings cannot be changed, new fields cannot be created existing fields cannot be deleted. Defaults to FALSE. Type: bool File core/modules/field/src/Entity/FieldStorageConfig.php, line 142 Class FieldStorageConfig Defines the Field storage configuration entity. Namespace Drupal\field\Entity Code protected $locke

FormStateDecoratorBase::setRedirectUrl

public FormStateDecoratorBase::setRedirectUrl(Url $url) Sets the redirect URL for the form. Parameters \Drupal\Core\Url $url: The URL to redirect to. Return value $this Overrides FormStateInterface::setRedirectUrl See also \Drupal\Core\Form\FormSubmitterInterface::redirectForm() File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 601 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function setRedirectUrl(Url $url) { $th

Connection::getKey

public Connection::getKey() Returns the key this connection is associated with. Return value string|null The key of this connection, or NULL if no key is set. File core/lib/Drupal/Core/Database/Connection.php, line 437 Class Connection Base Database API class. Namespace Drupal\Core\Database Code public function getKey() { return $this->key; }

FormStateValuesTrait::setValue

public FormStateValuesTrait::setValue($key, $value) Implements \Drupal\Core\Form\FormStateInterface::setValue() File core/lib/Drupal/Core/Form/FormStateValuesTrait.php, line 45 Class FormStateValuesTrait Provides methods to manage form state values. Namespace Drupal\Core\Form Code public function setValue($key, $value) { NestedArray::setValue($this->getValues(), (array) $key, $value, TRUE); return $this; }

CsrfRequestHeaderAccessCheck::applies

public CsrfRequestHeaderAccessCheck::applies(Route $route) Declares whether the access check applies to a specific route or not. Parameters \Symfony\Component\Routing\Route $route: The route to consider attaching to. Return value array An array of route requirement keys this access checker applies to. Overrides AccessCheckInterface::applies File core/lib/Drupal/Core/Access/CsrfRequestHeaderAccessCheck.php, line 50 Class CsrfRequestHeaderAccessCheck Access protection against CSRF attacks.

RdfMapping::calculateDependencies

public RdfMapping::calculateDependencies() Calculates dependencies and stores them in the dependency property. Return value $this Overrides ConfigEntityBase::calculateDependencies See also \Drupal\Core\Config\Entity\ConfigDependencyManager File core/modules/rdf/src/Entity/RdfMapping.php, line 137 Class RdfMapping Config entity for working with RDF mappings. Namespace Drupal\rdf\Entity Code public function calculateDependencies() { parent::calculateDependencies(); // Create depen

RouteProvider::$connection

The database connection from which to read route information. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Routing/RouteProvider.php, line 29 Class RouteProvider A Route Provider front-end for all Drupal-stored routes. Namespace Drupal\Core\Routing Code protected $connection;

drupal_install_config_directories

drupal_install_config_directories() Creates the config directory and ensures it is operational. See also install_settings_form_submit() update_prepare_d8_bootstrap() File core/includes/install.inc, line 484 API functions for installing modules and themes. Code function drupal_install_config_directories() { global $config_directories; // Add a randomized config directory name to settings.php, unless it was // manually defined in the existing already. if (empty($config_directories[CON