config_requirements

config_requirements($phase) Implements hook_requirements(). File core/modules/config/config.install, line 11 Install, update and uninstall functions for the config module. Code function config_requirements($phase) { $requirements = []; try { $directory = config_get_config_directory(CONFIG_SYNC_DIRECTORY); } catch (\Exception $e) { // system_requirements() guarantees that the CONFIG_SYNC_DIRECTORY exists // as the config.storage.staging service relies on it. $director

AccountProxy::getTimeZone

public AccountProxy::getTimeZone() Returns the timezone of this account. Return value string Name of the timezone. Overrides AccountInterface::getTimeZone File core/lib/Drupal/Core/Session/AccountProxy.php, line 144 Class AccountProxy A proxied implementation of AccountInterface. Namespace Drupal\Core\Session Code public function getTimeZone() { return $this->getAccount()->getTimeZone(); }

DiffEngine::MAX_XREF_LENGTH

File core/lib/Drupal/Component/Diff/Engine/DiffEngine.php, line 34 Class DiffEngine Class used internally by Diff to actually compute the diffs. Namespace Drupal\Component\Diff\Engine Code const MAX_XREF_LENGTH = 10000;

RouteSubscriber::getViewsDisplayIDsWithRoute

protected RouteSubscriber::getViewsDisplayIDsWithRoute() Gets all the views and display IDs using a route. File core/modules/views/src/EventSubscriber/RouteSubscriber.php, line 90 Class RouteSubscriber Builds up the routes of all views. Namespace Drupal\views\EventSubscriber Code protected function getViewsDisplayIDsWithRoute() { if (!isset($this->viewsDisplayPairs)) { $this->viewsDisplayPairs = array(); // @todo Convert this method to some service. $views = $this-

FileCacheFactory::$prefix

The cache prefix. Type: string File core/lib/Drupal/Component/FileCache/FileCacheFactory.php, line 27 Class FileCacheFactory Creates a FileCache object. Namespace Drupal\Component\FileCache Code protected static $prefix;

EntityTypeInterface::setAccessClass

public EntityTypeInterface::setAccessClass($class) Gets the access class. Parameters string $class: The class for this entity type's access. Return value $this File core/lib/Drupal/Core/Entity/EntityTypeInterface.php, line 352 Class EntityTypeInterface Provides an interface for an entity type and its metadata. Namespace Drupal\Core\Entity Code public function setAccessClass($class);

Select::escapeLike

public Select::escapeLike($string) Escapes characters that work as wildcard characters in a LIKE pattern. Parameters $string: The string to escape. Return value string The escaped string. Overrides SelectInterface::escapeLike See also \Drupal\Core\Database\Connection::escapeLike() File core/lib/Drupal/Core/Database/Query/Select.php, line 414 Class Select Query builder for SELECT statements. Namespace Drupal\Core\Database\Query Code public function escapeLike($string) { return $thi

EntityModerationForm::$validation

The moderation state transition validation service. Type: \Drupal\content_moderation\StateTransitionValidation File core/modules/content_moderation/src/Form/EntityModerationForm.php, line 31 Class EntityModerationForm The EntityModerationForm provides a simple UI for changing moderation state. Namespace Drupal\content_moderation\Form Code protected $validation;

ResourceResponseTrait::getResponseData

public ResourceResponseTrait::getResponseData() Returns response data that should be serialized. Return value mixed Response data that should be serialized. Overrides ResourceResponseInterface::getResponseData File core/modules/rest/src/ResourceResponseTrait.php, line 21 Class ResourceResponseTrait Namespace Drupal\rest Code public function getResponseData() { return $this->responseData; }

RouteSubscriber::getApplicableViews

protected RouteSubscriber::getApplicableViews() Returns all views/display combinations with routes. See also \Drupal\views\Views::getApplicableViews() File core/modules/views/src/EventSubscriber/RouteSubscriber.php, line 171 Class RouteSubscriber Builds up the routes of all views. Namespace Drupal\views\EventSubscriber Code protected function getApplicableViews() { return Views::getApplicableViews('uses_route'); }