ShortcutSetDeleteForm

Builds the shortcut set deletion form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityForm implements EntityFormInterfaceclass \Drupal\Core\Entity\EntityConfirmFormBase implements ConfirmFormInterfaceclass \Drupal\Core\Entity\EntityDeleteForm uses EntityDeleteFormTraitclass

db_query

db_query($query, array $args = array(), array $options = array()) Executes an arbitrary query string against the active database. Use this function for SELECT queries if it is just a simple query string. If the caller or other modules need to change the query, use db_select() instead. Do not use this function for INSERT, UPDATE, or DELETE queries. Those should be handled via db_insert(), db_update() and db_delete() respectively. Parameters string|\Drupal\Core\Database\StatementInterface $query

NodeType::$help

Help information shown to the user when creating a Node of this type. Type: string File core/modules/node/src/Entity/NodeType.php, line 79 Class NodeType Defines the Node type configuration entity. Namespace Drupal\node\Entity Code protected $help;

FormInterface

Provides an interface for a Form. Hierarchy interface \Drupal\Core\Form\FormInterface Related topics Form generation Describes how to generate and manipulate forms and process form submissions. File core/lib/Drupal/Core/Form/FormInterface.php, line 10 Namespace Drupal\Core\Form Members Name Modifiers Type Description FormInterface::buildForm public function Form constructor. FormInterface::getFormId public function Returns a unique string identifying the form.

RoleAccessControlHandler::checkAccess

protected RoleAccessControlHandler::checkAccess(EntityInterface $entity, $operation, AccountInterface $account) Performs access checks. This method is supposed to be overwritten by extending classes that do their own custom access checking. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity for which to check access. string $operation: The entity operation. Usually one of 'view', 'view label', 'update' or 'delete'. \Drupal\Core\Session\AccountInterface $account: The user for wh

AssetResolver::getJsAssets

public AssetResolver::getJsAssets(AttachedAssetsInterface $assets, $optimize) Returns the JavaScript assets for the current response's libraries. References to JavaScript files are placed in a certain order: first, all 'core' files, then all 'module' and finally all 'theme' JavaScript files are added to the page. Then, all settings are output, followed by 'inline' JavaScript code. If running update.php, all preprocessing is disabled. Note that hook_js_alter(&$javascript) is called during th

Routing API

Route page requests to code based on URLs. Overview and terminology The Drupal routing system defines how Drupal responds to URL requests that the web server passes on to Drupal. The routing system is based on the Symfony framework. The central idea is that Drupal subsystems and modules can register routes (basically, URL paths and context); they can also register to respond dynamically to routes, for more flexibility. When Drupal receives a URL request, it will attempt to match the request to

FilterFormat::removeFilter

public FilterFormat::removeFilter($instance_id) Removes a filter. Parameters string $instance_id: The ID of a filter plugin to be removed. Overrides FilterFormatInterface::removeFilter File core/modules/filter/src/Entity/FilterFormat.php, line 400 Class FilterFormat Represents a text format. Namespace Drupal\filter\Entity Code public function removeFilter($instance_id) { unset($this->filters[$instance_id]); $this->filterCollection->removeInstanceId($instance_id); }

DateTimePlus::$inputTimeZoneAdjusted

The prepared timezone object used to construct this date. File core/lib/Drupal/Component/Datetime/DateTimePlus.php, line 71 Class DateTimePlus Wraps DateTime(). Namespace Drupal\Component\Datetime Code protected $inputTimeZoneAdjusted = '';

HelpController::__construct

public HelpController::__construct(RouteMatchInterface $route_match, HelpSectionManager $help_manager) Creates a new HelpController. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The current route match. \Drupal\help\HelpSectionManager $help_manager: The help section manager. File core/modules/help/src/Controller/HelpController.php, line 39 Class HelpController Controller routines for help routes. Namespace Drupal\help\Controller Code public function __construct(Ro