DrupalKernel::$bootstrapContainerClass

Holds the class used for instantiating the bootstrap container. Type: string File core/lib/Drupal/Core/DrupalKernel.php, line 90 Class DrupalKernel The DrupalKernel class is the core of Drupal itself. Namespace Drupal\Core Code protected $bootstrapContainerClass = '\Drupal\Component\DependencyInjection\PhpArrayContainer';

EntityStorageInterface::loadMultiple

public EntityStorageInterface::loadMultiple(array $ids = NULL) Loads one or more entities. Parameters $ids: An array of entity IDs, or NULL to load all entities. Return value \Drupal\Core\Entity\EntityInterface[] An array of entity objects indexed by their IDs. Returns an empty array if no matching entities are found. File core/lib/Drupal/Core/Entity/EntityStorageInterface.php, line 47 Class EntityStorageInterface Defines the interface for entity storage classes. Namespace Drupal\Core

MenuAccessControlHandler

Defines the access control handler for the menu entity type. Hierarchy class \Drupal\Core\Entity\EntityHandlerBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Entity\EntityAccessControlHandler implements EntityAccessControlHandlerInterfaceclass \Drupal\system\MenuAccessControlHandler See also \Drupal\system\Entity\Menu File core/modules/system/src/MenuAccessControlHandler.php, line 15 Namespace Drupal\system Members Name Modifiers Type Descript

PoHeader::getLanguageName

PoHeader::getLanguageName() Gets the human readable language name. Return value string The human readable language name. File core/lib/Drupal/Component/Gettext/PoHeader.php, line 108 Class PoHeader Gettext PO header handler. Namespace Drupal\Component\Gettext Code function getLanguageName() { return $this->_languageName; }

EntityManager::getFieldDefinitions

public EntityManager::getFieldDefinitions($entity_type_id, $bundle) Overrides EntityFieldManagerInterface::getFieldDefinitions Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 144 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function getFieldDefinitions($entity_type_id, $bundle) { return $this->container->get('entity_fie

ConfigController::create

public static ConfigController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The service

EntityFormInterface

Defines an interface for entity form classes. Hierarchy interface \Drupal\Core\Form\FormInterfaceinterface \Drupal\Core\Form\BaseFormIdInterfaceinterface \Drupal\Core\Entity\EntityFormInterface File core/lib/Drupal/Core/Entity/EntityFormInterface.php, line 14 Namespace Drupal\Core\Entity Members Name Modifiers Type Description BaseFormIdInterface::getBaseFormId public function Returns a string identifying the base form. EntityFormInterface::buildEntity public fun

MemoryBackend::getRequestTime

protected MemoryBackend::getRequestTime() Wrapper method for REQUEST_TIME constant. Return value int File core/lib/Drupal/Core/Cache/MemoryBackend.php, line 204 Class MemoryBackend Defines a memory cache implementation. Namespace Drupal\Core\Cache Code protected function getRequestTime() { return defined('REQUEST_TIME') ? REQUEST_TIME : (int) $_SERVER['REQUEST_TIME']; }

MemoryCounterBackend::delete

public MemoryCounterBackend::delete($cid) Deletes an item from the cache. If the cache item is being deleted because it is no longer "fresh", you may consider using invalidate() instead. This allows callers to retrieve the invalid item by calling get() with $allow_invalid set to TRUE. In some cases an invalid item may be acceptable rather than having to rebuild the cache. Parameters string $cid: The cache ID to delete. Overrides MemoryBackend::delete See also \Drupal\Core\Cache\CacheBackendIn

ModerationHandler::onBundleModerationConfigurationFormSubmit

public ModerationHandler::onBundleModerationConfigurationFormSubmit(ConfigEntityInterface $bundle) Operates on the bundle definition that has been marked as moderated. Note: The values on the EntityModerationForm itself are already saved so do not need to be saved here. If any changes are made to the bundle object here it is this method's responsibility to call save() on it. The most common use case is to force revisions on for this bundle if moderation is enabled. That, sadly, does not have a