_system_rebuild_module_data

_system_rebuild_module_data() Helper function to scan and collect module .info.yml data. Return value \Drupal\Core\Extension\Extension[] An associative array of module information. File core/modules/system/system.module, line 958 Configuration system that lets administrators modify the workings of the site. Code function _system_rebuild_module_data() { $listing = new ExtensionDiscovery(\Drupal::root()); // Find installation profiles. This needs to happen before performing a // module

Database abstraction layer

Allow the use of different database servers using the same code base. Overview Drupal's database abstraction layer provides a unified database query API that can query different underlying databases. It is built upon PHP's PDO (PHP Data Objects) database API, and inherits much of its syntax and semantics. Besides providing a unified API for database queries, the database abstraction layer also provides a structured way to construct complex queries, and it protects the database by using good sec

NegotiationConfigureForm::create

public static NegotiationConfigureForm::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

ConfigException

A base exception thrown in any configuration system operations. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeException File core/lib/Drupal/Core/Config/ConfigException.php, line 8 Namespace Drupal\Core\Config Members

ReadOnlyStream::rmdir

public ReadOnlyStream::rmdir($uri, $options) Support for rmdir(). Directory will never be deleted as this is a read-only stream wrapper. Parameters string $uri: A string containing the URI to the directory to delete. int $options: A bit mask of STREAM_REPORT_ERRORS. Return value bool FALSE as directory will never be deleted. Overrides PhpStreamWrapperInterface::rmdir See also http://php.net/manual/streamwrapper.rmdir.php File core/lib/Drupal/Core/StreamWrapper/ReadOnlyStream.php, line 254

editor_help

editor_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/editor/editor.module, line 23 Adds bindings for client-side "text editors" to text formats. Code function editor_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.editor': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Text Editor module provides a framework that other module

BatchController::__construct

public BatchController::__construct($root) Constructs a new BatchController. Parameters string $root: The app root. File core/modules/system/src/Controller/BatchController.php, line 29 Class BatchController Controller routines for batch routes. Namespace Drupal\system\Controller Code public function __construct($root) { $this->root = $root; }

EntityDisplayModeFormBase::exists

public EntityDisplayModeFormBase::exists($entity_id, array $element) Determines if the display mode already exists. Parameters string|int $entity_id: The entity ID. array $element: The form element. Return value bool TRUE if the display mode exists, FALSE otherwise. File core/modules/field_ui/src/Form/EntityDisplayModeFormBase.php, line 105 Class EntityDisplayModeFormBase Provides the generic base class for entity display mode forms. Namespace Drupal\field_ui\Form Code public functio

JsCollectionOptimizer::$grouper

A JS asset grouper. Type: \Drupal\Core\Asset\JsCollectionGrouper File core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php, line 18 Class JsCollectionOptimizer Optimizes JavaScript assets. Namespace Drupal\Core\Asset Code protected $grouper;

ImageToolkit::$id

The plugin ID. Type: string File core/lib/Drupal/Core/ImageToolkit/Annotation/ImageToolkit.php, line 33 Class ImageToolkit Defines a Plugin annotation object for the image toolkit plugin. Namespace Drupal\Core\ImageToolkit\Annotation Code public $id;