StorageComparerInterface::validateSiteUuid

public StorageComparerInterface::validateSiteUuid() Validates that the system.site::uuid in the source and target match. Return value bool TRUE if identical, FALSE if not. File core/lib/Drupal/Core/Config/StorageComparerInterface.php, line 83 Class StorageComparerInterface Defines an interface for comparison of configuration storage objects. Namespace Drupal\Core\Config Code public function validateSiteUuid();

ExceptionLoggingSubscriber::__construct

public ExceptionLoggingSubscriber::__construct(LoggerChannelFactoryInterface $logger) Constructs a new ExceptionLoggingSubscriber. Parameters \Drupal\Core\Logger\LoggerChannelFactoryInterface $logger: The logger channel factory. File core/lib/Drupal/Core/EventSubscriber/ExceptionLoggingSubscriber.php, line 30 Class ExceptionLoggingSubscriber Log exceptions without further handling. Namespace Drupal\Core\EventSubscriber Code public function __construct(LoggerChannelFactoryInterface $lo

FormStateInterface::setValueForElement

public FormStateInterface::setValueForElement(array $element, $value) Changes submitted form values during form validation. Use this function to change the submitted value of a form element in a form validation function, so that the changed value persists in $form_state through to the submission handlers. Note that form validation functions are specified in the '#validate' component of the form array (the value of $form['#validate'] is an array of validation function names). If the form does no

Crypt::hmacBase64

public static Crypt::hmacBase64($data, $key) Calculates a base-64 encoded, URL-safe sha-256 hmac. Parameters mixed $data: Scalar value to be validated with the hmac. mixed $key: A secret key, this can be any scalar value. Return value string A base-64 encoded sha-256 hmac, with + replaced with -, / with _ and any = padding characters removed. File core/lib/Drupal/Component/Utility/Crypt.php, line 46 Class Crypt Utility class for cryptographically-secure string handling routines. Namesp

ContentEntityBase::getIterator

public ContentEntityBase::getIterator() File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 545 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function getIterator() { return new \ArrayIterator($this->getFields()); }

LanguageEditForm::getFormId

public LanguageEditForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides EntityForm::getFormId File core/modules/language/src/Form/LanguageEditForm.php, line 15 Class LanguageEditForm Controller for language edit forms. Namespace Drupal\language\Form Code public function getFormId() { // @todo Remove in favour of base method. return 'language_admin_edit_form'; }

MenuLinkContent::getMenuName

public MenuLinkContent::getMenuName() Gets the menu name of the custom menu link. Return value string The menu ID. Overrides MenuLinkContentInterface::getMenuName File core/modules/menu_link_content/src/Entity/MenuLinkContent.php, line 84 Class MenuLinkContent Defines the menu link content entity class. Namespace Drupal\menu_link_content\Entity Code public function getMenuName() { return $this->get('menu_name')->value; }

update_authorize_run_install

update_authorize_run_install($filetransfer, $project, $updater_name, $local_url) Installs a new project when invoked by authorize.php. Callback for system_authorized_init() in update_manager_install_form_submit(). Parameters FileTransfer $filetransfer: The FileTransfer object created by authorize.php for use during this operation. string $project: The canonical project short name; i.e., the name of the module, theme, or profile. string $updater_name: The name of the Drupal\Core\Updater\Updater

template_preprocess_menu_local_task

template_preprocess_menu_local_task(&$variables) Prepares variables for single local task link templates. Default template: menu-local-task.html.twig. Parameters array $variables: An associative array containing: element: A render element containing: #link: A menu link array with 'title', 'url', and (optionally) 'localized_options' keys. #active: A boolean indicating whether the local task is active. Related topics Menu system Define the navigation menus, local actions and tasks, and

Tasks::minimumVersion

public Tasks::minimumVersion() Return the minimum required version of the engine. Return value A version string. If not NULL, it will be checked against the version reported by the Database engine using version_compare(). Overrides Tasks::minimumVersion File core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php, line 30 Class Tasks Specifies installation tasks for SQLite databases. Namespace Drupal\Core\Database\Driver\sqlite\Install Code public function minimumVersion() { r