ModulesListForm::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/system/src/Form/ModulesListForm.php, line 43 Class ModulesListForm Provides module installation interface. Namespace Drupal\system\Form Code protected $moduleHandler;

WidgetBase

Base class for 'Field widget' plugin implementations. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Field\PluginSettingsBase implements DependentPluginInterface, PluginSettingsInterfaceclass \Drupal\Core\Field\WidgetBase implements WidgetInterface uses AllowedTagsXssTrait Related topics Field Widget API De

Updater::postInstall

public Updater::postInstall() Performs actions after installation. File core/lib/Drupal/Core/Updater/Updater.php, line 388 Class Updater Defines the base class for Updaters used in Drupal. Namespace Drupal\Core\Updater Code public function postInstall() { }

ThemeInstaller::uninstall

public ThemeInstaller::uninstall(array $theme_list) Uninstalls a given list of themes. Uninstalling a theme removes all related configuration (like blocks) and invokes the 'themes_uninstalled' hook. Parameters array $theme_list: The themes to uninstall. Throws \InvalidArgumentException Thrown when you uninstall an not installed theme. Overrides ThemeInstallerInterface::uninstall See also hook_themes_uninstalled() File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 214 Class Them

LOCALE_TRANSLATION_LOCAL

Translation source is a local file. File core/modules/locale/locale.module, line 134 Enables the translation of the user interface to languages other than English. Code const LOCALE_TRANSLATION_LOCAL = 'local';

hook_node_access_records

hook_node_access_records(\Drupal\node\NodeInterface $node) Set permissions for a node to be written to the database. When a node is saved, a module implementing hook_node_access_records() will be asked if it is interested in the access permissions for a node. If it is interested, it must respond with an array of permissions arrays for that node. Node access grants apply regardless of the published or unpublished status of the node. Implementations must make sure not to grant access to unpublish

CSS_AGGREGATE_THEME

The default aggregation group for theme CSS files added to the page. File core/includes/common.inc, line 79 Common functions that many Drupal modules will need to reference. Code const CSS_AGGREGATE_THEME = 100;

user_delete

user_delete($uid) Delete a user. Parameters int $uid: A user ID. File core/modules/user/user.module, line 844 Enables the user registration and login system. Code function user_delete($uid) { user_delete_multiple(array($uid)); }

Module

Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Hierarchy class \Drupal\Core\Updater\Updaterclass \Drupal\Core\Updater\Module implements UpdaterInterface File core/lib/Drupal/Core/Updater/Module.php, line 11 Namespace Drupal\Core\Updater Members Name Modifiers Type Description Module::canUpdate public static function Determines whether this class can update the specified project. Module::canUpdateDirectory

ActionAddForm

Provides a form for action add forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\action\ActionFormBaseclass \Drupal\action\ActionAddForm File core/modules/action/src/ActionAddForm.php, line 14 Namespace Drupal\ac