PhpBackend::deleteMultiple

public PhpBackend::deleteMultiple(array $cids) Deletes multiple items from the cache. If the cache items are being deleted because they are no longer "fresh", you may consider using invalidateMultiple() instead. This allows callers to retrieve the invalid items by calling get() with $allow_invalid set to TRUE. In some cases an invalid item may be acceptable rather than having to rebuild the cache. Parameters array $cids: An array of cache IDs to delete. Overrides CacheBackendInterface::deleteM

BigPipeResponse::setBigPipeService

public BigPipeResponse::setBigPipeService(BigPipeInterface $big_pipe) Sets the BigPipe service to use. Parameters \Drupal\big_pipe\Render\BigPipeInterface $big_pipe: The BigPipe service. File core/modules/big_pipe/src/Render/BigPipeResponse.php, line 33 Class BigPipeResponse A response that is sent in chunks by the BigPipe service. Namespace Drupal\big_pipe\Render Code public function setBigPipeService(BigPipeInterface $big_pipe) { $this->bigPipe = $big_pipe; }

ContactFormInterface::getRecipients

public ContactFormInterface::getRecipients() Returns list of recipient email addresses. Return value array List of recipient email addresses. File core/modules/contact/src/ContactFormInterface.php, line 26 Class ContactFormInterface Provides an interface defining a contact form entity. Namespace Drupal\contact Code public function getRecipients();

SessionManager::destroy

public SessionManager::destroy() Destroys the current session and removes session cookies. Overrides SessionManagerInterface::destroy File core/lib/Drupal/Core/Session/SessionManager.php, line 254 Class SessionManager Manages user sessions. Namespace Drupal\Core\Session Code public function destroy() { session_destroy(); // Unset the session cookies. $session_name = $this->getName(); $cookies = $this->requestStack->getCurrentRequest()->cookies; // setcookie() can

TwigExtension::getPath

public TwigExtension::getPath($name, $parameters = array(), $options = array()) Generates a URL path given a route name and parameters. Parameters $name: The name of the route. array $parameters: An associative array of route parameters names and values. array $options: (optional) An associative array of additional options. The 'absolute' option is forced to be FALSE. Return value string The generated URL path (relative URL) for the given route. See also \Drupal\Core\Routing\UrlGeneratorInte

FormStateDecoratorBase::setValidationComplete

public FormStateDecoratorBase::setValidationComplete($validation_complete = TRUE) Sets that validation has been completed. Parameters bool $validation_complete: TRUE if validation is complete, FALSE otherwise. Return value $this Overrides FormStateInterface::setValidationComplete File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 402 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function setValidationComplete($validatio

ModulesListConfirmForm::$modules

An associative list of modules to enable or disable. Type: array File core/modules/system/src/Form/ModulesListConfirmForm.php, line 39 Class ModulesListConfirmForm Builds a confirmation form for enabling modules with dependencies. Namespace Drupal\system\Form Code protected $modules = array();

SessionManagerInterface::setWriteSafeHandler

public SessionManagerInterface::setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler) Sets the write safe session handler. @todo: This should be removed once all database queries are removed from the session manager class. File core/lib/Drupal/Core/Session/SessionManagerInterface.php, line 33 Class SessionManagerInterface Defines the session manager interface. Namespace Drupal\Core\Session Code public function setWriteSafeHandler(WriteSafeSessionHandlerInterface $handler);

CommentForm::create

public static CommentForm::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 cont

CommentForm::$renderer

The renderer. Type: \Drupal\Core\Render\RendererInterface File core/modules/comment/src/CommentForm.php, line 34 Class CommentForm Base handler for comment forms. Namespace Drupal\comment Code protected $renderer;