shortcut_themes_installed

shortcut_themes_installed($theme_list) Implements hook_themes_installed(). File core/modules/shortcut/shortcut.module, line 433 Allows users to manage customizable lists of shortcut links. Code function shortcut_themes_installed($theme_list) { if (in_array('seven', $theme_list)) { // Theme settings are not configuration entities and cannot depend on modules // so to set a module-specific setting, we need to set it with logic. if (\Drupal::moduleHandler()->moduleExists('shortc

ImageStyleFormBase::create

public static ImageStyleFormBase::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 servi

system_authorized_batch_process

system_authorized_batch_process() Use authorize.php to run batch_process(). See also batch_process() Related topics Authorized operations Functions to run operations with elevated privileges via authorize.php. File core/modules/system/system.module, line 486 Configuration system that lets administrators modify the workings of the site. Code function system_authorized_batch_process() { $finish_url = system_authorized_get_url(); $process_url = system_authorized_batch_processing_url();

ModulesListForm::$keyValueExpirable

The expirable key value store. Type: \Drupal\Core\KeyValueStore\KeyValueStoreExpirableInterface File core/modules/system/src/Form/ModulesListForm.php, line 50 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $keyValueExpirable;

RequestPolicyInterface::DENY

Deny delivery of cached pages. File core/lib/Drupal/Core/PageCache/RequestPolicyInterface.php, line 24 Class RequestPolicyInterface Defines the interface for request policy implementations. Namespace Drupal\Core\PageCache Code const DENY = 'deny';

Connection::$connection

The actual PDO connection. Type: \PDO File core/lib/Drupal/Core/Database/Connection.php, line 97 Class Connection Base Database API class. Namespace Drupal\Core\Database Code protected $connection;

NodeType::postDelete

public static NodeType::postDelete(EntityStorageInterface $storage, array $entities) Acts on deleted entities before the delete hook is invoked. Used after the entities are deleted but before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides ConfigEntityBundleBase::postDelete File core/modules/node/src/Entity/NodeType.php, line 201 Class NodeTy

ImageStyleFormBase::__construct

public ImageStyleFormBase::__construct(EntityStorageInterface $image_style_storage) Constructs a base class for image style add and edit forms. Parameters \Drupal\Core\Entity\EntityStorageInterface $image_style_storage: The image style entity storage. File core/modules/image/src/Form/ImageStyleFormBase.php, line 35 Class ImageStyleFormBase Base form for image style add and edit forms. Namespace Drupal\image\Form Code public function __construct(EntityStorageInterface $image_style_stor

ImageStyleDeleteForm::$replacementOptions

Replacement options. Type: array File core/modules/image/src/Form/ImageStyleDeleteForm.php, line 18 Class ImageStyleDeleteForm Creates a form to delete an image style. Namespace Drupal\image\Form Code protected $replacementOptions;

Renderer::renderPlain

public Renderer::renderPlain(&$elements) Renders final HTML in situations where no assets are needed. Calls ::render() in such a way that placeholders are replaced. Useful for instance when rendering the values of tokens or emails, which need a render array being turned into a string, but do not need any of the bubbleable metadata (the attached assets and cache tags). Some of these are a relatively common use case and happen *within* a ::renderRoot() call, but that is generally highly probl