EntityTypeBundleInfo::getAllBundleInfo

public EntityTypeBundleInfo::getAllBundleInfo() Get the bundle info of all entity types. Return value array An array of bundle information where the outer array is keyed by entity type. The next level is keyed by the bundle name. The inner arrays are associative arrays of bundle information, such as the label for the bundle. Overrides EntityTypeBundleInfoInterface::getAllBundleInfo File core/lib/Drupal/Core/Entity/EntityTypeBundleInfo.php, line 87 Class EntityTypeBundleInfo Provides disco

EditorXssFilterInterface

Defines an interface for text editor XSS (Cross-site scripting) filters. Hierarchy interface \Drupal\editor\EditorXssFilterInterface File core/modules/editor/src/EditorXssFilterInterface.php, line 10 Namespace Drupal\editor Members Name Modifiers Type Description EditorXssFilterInterface::filterXss public static function Filters HTML to prevent XSS attacks when a user edits it in a text editor.

Block::setRegion

public Block::setRegion($region) Sets the region this block is placed in. Parameters string $region: The region to place this block in. Return value $this Overrides BlockInterface::setRegion File core/modules/block/src/Entity/Block.php, line 303 Class Block Defines a Block configuration entity class. Namespace Drupal\block\Entity Code public function setRegion($region) { $this->region = $region; return $this; }

YamlDirectoryDiscovery

Discovers multiple YAML files in a set of directories. Hierarchy class \Drupal\Component\Discovery\YamlDirectoryDiscovery implements DiscoverableInterface File core/lib/Drupal/Component/Discovery/YamlDirectoryDiscovery.php, line 13 Namespace Drupal\Component\Discovery Members Name Modifiers Type Description YamlDirectoryDiscovery::$directories protected property An array of directories to scan, keyed by the provider. YamlDirectoryDiscovery::$fileCacheKeySuffix protec

StringDatabaseStorage::dbStringKeys

protected StringDatabaseStorage::dbStringKeys($string) Gets keys values that are in a database table. Parameters \Drupal\locale\StringInterface $string: The string object. Return value array Array with key fields if the string has all keys, or empty array if not. File core/modules/locale/src/StringDatabaseStorage.php, line 291 Class StringDatabaseStorage Defines a class to store localized strings in the database. Namespace Drupal\locale Code protected function dbStringKeys($string) {

ViewsExposedForm::submitForm

public ViewsExposedForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/views/src/Form/ViewsExposedForm.php, line 149 Class ViewsExposedForm Provides the views exposed form. Namespace Drupal\views\Form Code public function submitFor

NullGenerator

No-op implementation of a Url Generator, needed for backward compatibility. Hierarchy class \Drupal\Core\Routing\UrlGenerator implements UrlGeneratorInterfaceclass \Drupal\Core\Routing\NullGenerator File core/lib/Drupal/Core/Routing/NullGenerator.php, line 14 Namespace Drupal\Core\Routing Members Name Modifiers Type Description NullGenerator::getContext public function Overrides UrlGenerator::getContext NullGenerator::getInternalPathFromRoute protected function

FormCache::loadCachedFormState

protected FormCache::loadCachedFormState($form_build_id, FormStateInterface $form_state) Loads the cached form state. Parameters string $form_build_id: The unique form build ID. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. File core/lib/Drupal/Core/Form/FormCache.php, line 148 Class FormCache Encapsulates the caching of a form and its form state. Namespace Drupal\Core\Form Code protected function loadCachedFormState($form_build_id, FormStateInterfac

EntityAccessControlHandlerInterface::createAccess

public EntityAccessControlHandlerInterface::createAccess($entity_bundle = NULL, AccountInterface $account = NULL, array $context = array(), $return_as_object = FALSE) Checks access to create an entity. Parameters string $entity_bundle: (optional) The bundle of the entity. Required if the entity supports bundles, defaults to NULL otherwise. \Drupal\Core\Session\AccountInterface $account: (optional) The user session for which to check access, or NULL to check access for the current user. Default

Cookie::$sessionConfiguration

The session configuration. Type: \Drupal\Core\Session\SessionConfigurationInterface File core/modules/user/src/Authentication/Provider/Cookie.php, line 23 Class Cookie Cookie based authentication provider. Namespace Drupal\user\Authentication\Provider Code protected $sessionConfiguration;