Module::getSchemaUpdates

public Module::getSchemaUpdates() Returns available database schema updates once a new version is installed. Return value array File core/lib/Drupal/Core/Updater/Module.php, line 82 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public function getSchemaUpdates() { require_once DRUPAL_ROOT . '/core/includes/install.inc'; require_once DRUPAL_ROOT . '/core/includes/update.inc

Module::getRootDirectoryRelativePath

public static Module::getRootDirectoryRelativePath() Returns the name of the root directory under which projects will be copied. Return value string A relative path to the root directory. Overrides UpdaterInterface::getRootDirectoryRelativePath File core/lib/Drupal/Core/Updater/Module.php, line 42 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public static function getRootDire

Module::getInstallDirectory

public Module::getInstallDirectory() Returns the directory where a module should be installed. If the module is already installed, drupal_get_path() will return a valid path and we should install it there. If we're installing a new module, we always want it to go into /modules, since that's where all the documentation recommends users install their modules, and there's no way that can conflict on a multi-site installation, since the Update manager won't let you install a new module if it's alre

Module::canUpdateDirectory

public static Module::canUpdateDirectory($directory) Determines if the Updater can handle the project provided in $directory. Parameters string $directory: Return value bool TRUE if the project is installed, FALSE if not. Overrides UpdaterInterface::canUpdateDirectory File core/lib/Drupal/Core/Updater/Module.php, line 59 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public st

Module::canUpdate

public static Module::canUpdate($project_name) Determines whether this class can update the specified project. Parameters string $project_name: The project to check. Return value bool File core/lib/Drupal/Core/Updater/Module.php, line 73 Class Module Defines a class for updating modules using Drupal\Core\FileTransfer\FileTransfer classes via authorize.php. Namespace Drupal\Core\Updater Code public static function canUpdate($project_name) { return (bool) drupal_get_path('module', $p

module.inc

API for loading and interacting with Drupal modules. File core/includes/module.inc Functions Name Description drupal_required_modules Returns an array of modules required by core. module_config_sort Sorts the configured list of enabled modules. module_load_include Loads a module include file. module_load_install Loads a module's installation hooks. module_set_weight Sets weight of a particular module. system_list Builds a list of installed themes. system_list_res

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

ModifyServiceDefinitionsPass::process

public ModifyServiceDefinitionsPass::process(ContainerBuilder $container) You can modify the container here before it is dumped to PHP code. Parameters ContainerBuilder $container: Overrides CompilerPassInterface::process File core/lib/Drupal/Core/DependencyInjection/Compiler/ModifyServiceDefinitionsPass.php, line 18 Class ModifyServiceDefinitionsPass Passes the container to the alter() method of all service providers. Namespace Drupal\Core\DependencyInjection\Compiler Code public fun

ModifyServiceDefinitionsPass

Passes the container to the alter() method of all service providers. Hierarchy class \Drupal\Core\DependencyInjection\Compiler\ModifyServiceDefinitionsPass implements CompilerPassInterface File core/lib/Drupal/Core/DependencyInjection/Compiler/ModifyServiceDefinitionsPass.php, line 13 Namespace Drupal\Core\DependencyInjection\Compiler Members Name Modifiers Type Description ModifyServiceDefinitionsPass::process public function You can modify the container here before it

ModifiedResourceResponse::__construct

public ModifiedResourceResponse::__construct($data = NULL, $status = 200, $headers = []) Constructor for ModifiedResourceResponse objects. Parameters mixed $data: Response data that should be serialized. int $status: The response status code. array $headers: An array of response headers. Overrides Response::__construct File core/modules/rest/src/ModifiedResourceResponse.php, line 29 Class ModifiedResourceResponse A response that does not contain cacheability metadata. Namespace Drupal\