CacheCollectorInterface::delete

public CacheCollectorInterface::delete($key) Deletes the element. It depends on the specific case and implementation whether this has a permanent effect or if it just affects the current request. Parameters string $key: Key that identifies the data. File core/lib/Drupal/Core/Cache/CacheCollectorInterface.php, line 54 Class CacheCollectorInterface Provides a caching wrapper to be used in place of large structures. Namespace Drupal\Core\Cache Code public function delete($key);

UpdateSettingsForm::validateForm

public UpdateSettingsForm::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/update/src/UpdateSettingsForm.php, line 105 Class UpdateSettingsForm Configure update settings for this site. Namespace Drupal\update Code public function vali

UserStorageSchema::getEntitySchema

protected UserStorageSchema::getEntitySchema(ContentEntityTypeInterface $entity_type, $reset = FALSE) Gets the entity schema for the specified entity type. Entity types may override this method in order to optimize the generated schema of the entity tables. However, only cross-field optimizations should be added here; e.g., an index spanning multiple fields. Optimizations that apply to a single field have to be added via SqlContentEntityStorageSchema::getSharedTableFieldSchema() instead. Parame

SysLog::log

public SysLog::log($level, $message, array $context = array()) Logs with an arbitrary level. Parameters mixed $level: string $message: array $context: Return value null Overrides RfcLoggerTrait::log File core/modules/syslog/src/Logger/SysLog.php, line 66 Class SysLog Redirects logging messages to syslog. Namespace Drupal\syslog\Logger Code public function log($level, $message, array $context = array()) { global $base_url; // Ensure we have a connection available. $this->ope

hook_block_build_alter

hook_block_build_alter(array &$build, \Drupal\Core\Block\BlockPluginInterface $block) Alter the result of \Drupal\Core\Block\BlockBase::build(). Unlike hook_block_view_alter(), this hook is called very early, before the block is being assembled. Therefore, it is early enough to alter the cacheability metadata (change #cache), or to explicitly placeholder the block (set #create_placeholder). In addition to hook_block_build_alter(), which is called for all blocks, there is hook_block_build_BA

UnmetDependenciesException::$extension

The name of the extension that is being installed. Type: string File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 25 Class UnmetDependenciesException An exception thrown if configuration has unmet dependencies. Namespace Drupal\Core\Config Code protected $extension;

PathBasedBreadcrumbBuilder::$accessManager

The menu link access service. Type: \Drupal\Core\Access\AccessManagerInterface File core/modules/system/src/PathBasedBreadcrumbBuilder.php, line 45 Class PathBasedBreadcrumbBuilder Class to define the menu_link breadcrumb builder. Namespace Drupal\system Code protected $accessManager;

NodeTypeForm::__construct

public NodeTypeForm::__construct(EntityManagerInterface $entity_manager) Constructs the NodeTypeForm object. Parameters \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. File core/modules/node/src/NodeTypeForm.php, line 30 Class NodeTypeForm Form handler for node type forms. Namespace Drupal\node Code public function __construct(EntityManagerInterface $entity_manager) { $this->entityManager = $entity_manager; }

FormAjaxResponseBuilderInterface::buildResponse

public FormAjaxResponseBuilderInterface::buildResponse(Request $request, array $form, FormStateInterface $form_state, array $commands) Builds a response for an AJAX form. Parameters \Symfony\Component\HttpFoundation\Request $request: The current request. array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. array $commands: An array of AJAX commands to apply to the form. Return value \Drupal\Cor

RedirectDestination::__construct

public RedirectDestination::__construct(RequestStack $request_stack, UrlGeneratorInterface $url_generator) Constructs a new RedirectDestination instance. Parameters \Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack. \Drupal\Core\Routing\UrlGeneratorInterface $url_generator: The URL generator. File core/lib/Drupal/Core/Routing/RedirectDestination.php, line 42 Class RedirectDestination Provides helpers for redirect destinations. Namespace Drupal\Core\Routin