ImageToolkitManager::getDefaultToolkitId

public ImageToolkitManager::getDefaultToolkitId() Gets the default image toolkit ID. Return value string|bool ID of the default toolkit, or FALSE on error. File core/lib/Drupal/Core/ImageToolkit/ImageToolkitManager.php, line 53 Class ImageToolkitManager Manages image toolkit plugins. Namespace Drupal\Core\ImageToolkit Code public function getDefaultToolkitId() { $toolkit_id = $this->configFactory->get('system.image')->get('toolkit'); $toolkits = $this->getAvailableTool

SqlContentEntityStorage::purgeFieldItems

protected SqlContentEntityStorage::purgeFieldItems(ContentEntityInterface $entity, FieldDefinitionInterface $field_definition) Removes field items from storage per entity during purge. Parameters ContentEntityInterface $entity: The entity revision, whose values are being purged. \Drupal\Core\Field\FieldDefinitionInterface $field_definition: The field whose values are bing purged. Overrides ContentEntityStorageBase::purgeFieldItems File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.ph

DrupalKernel::initializeServiceProviders

protected DrupalKernel::initializeServiceProviders() Registers all service providers to the kernel. Throws \LogicException File core/lib/Drupal/Core/DrupalKernel.php, line 1263 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected function initializeServiceProviders() { $this->discoverServiceProviders(); $this->serviceProviders = array( 'app' => array(), 'site' => array(), ); foreach ($this->serviceP

ConfigEntityBase::toArray

public ConfigEntityBase::toArray() Gets an array of all property values. Return value mixed[] An array of property values, keyed by property name. Overrides Entity::toArray File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 265 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function toArray() { $properties = array(); /** @var \Drupal\Core\Config\Entity\ConfigEntityTypeInterface $entity_type */ $en

ShortcutSetListBuilder::buildHeader

public ShortcutSetListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/shortcut/src/ShortcutSetListBuilder.php, line 18 Class ShortcutSetListBuilder Defines a class to build a listing of shortcut set entities. Namespace Drupal\shortcut Code public function buildHeader() { $header['name'

Upsert

MySQL implementation of \Drupal\Core\Database\Query\Upsert. Hierarchy class \Drupal\Core\Database\Query\Query implements PlaceholderInterfaceclass \Drupal\Core\Database\Query\Upsert implements \Countable uses InsertTraitclass \Drupal\Core\Database\Driver\mysql\Upsert File core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php, line 10 Namespace Drupal\Core\Database\Driver\mysql Members Name Modifiers Type Description InsertTrait::$defaultFields protected property An arr

TypedData::getParent

public TypedData::getParent() Returns the parent data structure; i.e. either complex data or a list. Return value \Drupal\Core\TypedData\TraversableTypedDataInterface|null The parent data structure, either complex data or a list; or NULL if this is the root of the typed data tree. Overrides TypedDataInterface::getParent File core/lib/Drupal/Core/TypedData/TypedData.php, line 194 Class TypedData The abstract base class for typed data. Namespace Drupal\Core\TypedData Code public functio

ImageStyleInterface::getName

public ImageStyleInterface::getName() Returns the image style. Return value string The name of the image style. File core/modules/image/src/ImageStyleInterface.php, line 32 Class ImageStyleInterface Provides an interface defining an image style entity. Namespace Drupal\image Code public function getName();

SearchPage::getWeight

public SearchPage::getWeight() Returns the weight for the page. Return value int The page weight. Overrides SearchPageInterface::getWeight File core/modules/search/src/Entity/SearchPage.php, line 167 Class SearchPage Defines a configured search page. Namespace Drupal\search\Entity Code public function getWeight() { return $this->weight; }

ExecutionContext::setGroup

public ExecutionContext::setGroup($group) Sets the currently validated group. @internal Used by the validator engine. Should not be called by user code. Parameters string|null $group The validated group: Overrides ExecutionContextInterface::setGroup File core/lib/Drupal/Core/TypedData/Validation/ExecutionContext.php, line 144 Class ExecutionContext Defines an execution context class. Namespace Drupal\Core\TypedData\Validation Code public function setGroup($group) { $this->group =