EntityTypeEvent::getEntityType

public EntityTypeEvent::getEntityType() The entity type the event refers to. Return value \Drupal\Core\Entity\EntityTypeInterface File core/lib/Drupal/Core/Entity/EntityTypeEvent.php, line 45 Class EntityTypeEvent Defines a base class for all entity type events. Namespace Drupal\Core\Entity Code public function getEntityType() { return $this->entityType; }

EntityDeleteFormTrait::submitForm

public EntityDeleteFormTrait::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden un

system_get_module_admin_tasks

system_get_module_admin_tasks($module, array $info) Generate a list of tasks offered by a specified module. Parameters string $module: Module name. array $info: The module's information, as provided by system_get_info(). Return value array An array of task links. File core/modules/system/system.module, line 1211 Configuration system that lets administrators modify the workings of the site. Code function system_get_module_admin_tasks($module, array $info) { $tree = &drupal_static(__FUN

ControllerBase::$stateService

The state service. Type: \Drupal\Core\KeyValueStore\KeyValueStoreInterface File core/lib/Drupal/Core/Controller/ControllerBase.php, line 96 Class ControllerBase Utility base class for thin controllers. Namespace Drupal\Core\Controller Code protected $stateService;

Tableselect::preRenderTableselect

public static Tableselect::preRenderTableselect($element) Prepares a 'tableselect' #type element for rendering. Adds a column of radio buttons or checkboxes for each row of a table. Parameters array $element: An associative array containing the properties and children of the tableselect element. Properties used: #header, #options, #empty, and #js_select. The #options property is an array of selection options; each array element of #options is an array of properties. These properties can includ

Connection::update

public Connection::update($table, array $options = array()) Prepares and returns an UPDATE query object. Parameters string $table: The table to use for the update statement. array $options: (optional) An array of options on the query. Return value \Drupal\Core\Database\Query\Update A new Update query object. See also \Drupal\Core\Database\Query\Update File core/lib/Drupal/Core/Database/Connection.php, line 857 Class Connection Base Database API class. Namespace Drupal\Core\Database

ConfigManagerInterface::diff

public ConfigManagerInterface::diff(StorageInterface $source_storage, StorageInterface $target_storage, $source_name, $target_name = NULL, $collection = StorageInterface::DEFAULT_COLLECTION) Creates a Diff object using the config data from the two storages. @todo Make renderer injectable Parameters \Drupal\Core\Config\StorageInterface $source_storage: The storage to diff configuration from. \Drupal\Core\Config\StorageInterface $target_storage: The storage to diff configuration to. string $sour

MaintenanceModeSubscriber::getSubscribedEvents

public static MaintenanceModeSubscriber::getSubscribedEvents() Returns an array of event names this subscriber wants to listen to. The array keys are event names and the value can be: The method name to call (priority defaults to 0) An array composed of the method name to call and the priority An array of arrays composed of the method names to call and respective priorities, or 0 if unset For instance: array('eventName' => 'methodName') array('eventName' => array('methodName', $priori

MainContentRenderersPass

Adds main_content_renderers parameter to the container. Hierarchy class \Drupal\Core\Render\MainContent\MainContentRenderersPass implements CompilerPassInterface File core/lib/Drupal/Core/Render/MainContent/MainContentRenderersPass.php, line 11 Namespace Drupal\Core\Render\MainContent Members Name Modifiers Type Description MainContentRenderersPass::process public function Collects the available main content renderer service IDs into the main_content_renderers parameter,

Query::isSimpleQuery

protected Query::isSimpleQuery() Determines whether the query requires GROUP BY and ORDER BY MIN/MAX. Return value bool File core/lib/Drupal/Core/Entity/Query/Sql/Query.php, line 283 Class Query The SQL storage entity query class. Namespace Drupal\Core\Entity\Query\Sql Code protected function isSimpleQuery() { return (!$this->pager && !$this->range && !$this->count) || $this->sqlQuery->getMetaData('simple_query'); }