MenuLinkInterface::getTitle

public MenuLinkInterface::getTitle() Returns the localized title to be shown for this link. Return value string The title of the menu link. File core/lib/Drupal/Core/Menu/MenuLinkInterface.php, line 28 Class MenuLinkInterface Defines an interface for classes providing a type of menu link. Namespace Drupal\Core\Menu Code public function getTitle();

DatabaseStorage::encode

public DatabaseStorage::encode($data) Encodes configuration data into the storage-specific format. This is a publicly accessible static method to allow for alternative usages in data conversion scripts and also tests. Parameters array $data: The configuration data to encode. Return value string The encoded configuration data. Overrides StorageInterface::encode File core/lib/Drupal/Core/Config/DatabaseStorage.php, line 247 Class DatabaseStorage Defines the Database storage. Namespace D

FilterFormatListBuilder::submitForm

public FilterFormatListBuilder::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides DraggableListBuilder::submitForm File core/modules/filter/src/FilterFormatListBuilder.php, line 149 Class FilterFormatListBuilder Defines a class to build a listing of filter format entities. Namespa

Schema::createTableSql

protected Schema::createTableSql($name, $table) Generate SQL to create a new table from a Drupal schema definition. Parameters $name: The name of the table to create. $table: A Schema API table definition array. Return value An array of SQL statements to create the table. File core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php, line 221 Class Schema PostgreSQL implementation of \Drupal\Core\Database\Schema. Namespace Drupal\Core\Database\Driver\pgsql Code protected function create

ContentEntityBase::updateOriginalValues

public ContentEntityBase::updateOriginalValues() Updates the original values with the interim changes. File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 872 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function updateOriginalValues() { if (!$this->fields) { return; } foreach ($this->getFieldDefinitions() as $name => $definition) { if (!$definition->isComputed(

Cron::$moduleHandler

The module handler service. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Cron.php, line 27 Class Cron The Drupal core Cron service. Namespace Drupal\Core Code protected $moduleHandler;

UserSession::getPreferredLangcode

UserSession::getPreferredLangcode($fallback_to_default = TRUE) Returns the preferred language code of the account. Parameters bool $fallback_to_default: (optional) Whether the return value will fall back to the site default language if the user has no language preference. Return value string The language code that is preferred by the account. If the preferred language is not set or is a language not configured anymore on the site, the site default is returned or an empty string is returned (i

LocalActionInterface::getTitle

public LocalActionInterface::getTitle() Returns the localized title to be shown for this action. Subclasses may add optional arguments like NodeInterface $node = NULL that will be supplied by the ControllerResolver. Return value string The title to be shown for this action. See also \Drupal\Core\Menu\LocalActionManager::getTitle() File core/lib/Drupal/Core/Menu/LocalActionInterface.php, line 60 Class LocalActionInterface Defines an interface for menu local actions. Namespace Drupal\Co

PathRootsSubscriber::$pathRoots

Stores the path roots available in the router. A path root is the first virtual directory of a path, like 'admin', 'node' or 'user'. Type: array File core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 23 Class PathRootsSubscriber Provides all available first bits of all route paths. Namespace Drupal\Core\EventSubscriber Code protected $pathRoots = [];

dblog.module

System monitoring and logging for administrators. The Database Logging module monitors your site and keeps a list of recorded events containing usage and performance data, errors, warnings, and similar operational information. File core/modules/dblog/dblog.module Functions Name Description dblog_cron Implements hook_cron(). dblog_form_system_logging_settings_alter Implements hook_form_FORM_ID_alter() for system_logging_settings(). dblog_help Implements hook_help(). dblog_log