ConfigFactoryOverrideBase::filterOverride

protected ConfigFactoryOverrideBase::filterOverride(Config $config, StorableConfigBase $override) Filters data in the override based on what is currently in configuration. Parameters \Drupal\Core\Config\Config $config: Current configuration object. \Drupal\Core\Config\StorableConfigBase $override: Override object corresponding to the configuration to filter data in. File core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php, line 63 Class ConfigFactoryOverrideBase Defines a base event

RoutingEvents::DYNAMIC

Name of the event fired during route collection to allow new routes. This event is used to add new routes based upon existing routes, giving modules the opportunity to dynamically generate additional routes. The event listener method receives a \Drupal\Core\Routing\RouteBuildEvent instance. See also \Drupal\Core\Routing\RouteBuildEvent \Drupal\Core\EventSubscriber\EntityRouteProviderSubscriber \Drupal\Core\Routing\RouteBuilder::rebuild() Related topics Events Overview of event dispatch and sub

Registry::$cache

The cache backend to use for the complete theme registry data. Type: \Drupal\Core\Cache\CacheBackendInterface File core/lib/Drupal/Core/Theme/Registry.php, line 92 Class Registry Defines the theme registry service. Namespace Drupal\Core\Theme Code protected $cache;

hook_ENTITY_TYPE_field_values_init

hook_ENTITY_TYPE_field_values_init(\Drupal\Core\Entity\FieldableEntityInterface $entity) Acts when initializing a fieldable entity object. This hook runs after a new entity object or a new entity translation object has just been instantiated. It can be used to set initial values, e.g. to provide defaults. Parameters \Drupal\Core\Entity\FieldableEntityInterface $entity: The entity object. See also hook_entity_field_values_init() Related topics Entity CRUD, editing, and view hooks Hooks used in

RfcLogLevel::CRITICAL

Log message severity -- Critical conditions. File core/lib/Drupal/Core/Logger/RfcLogLevel.php, line 48 Class RfcLogLevel Defines various logging severity levels. Namespace Drupal\Core\Logger Code const CRITICAL = 2;

Select::havingCondition

public Select::havingCondition($field, $value = NULL, $operator = NULL) Helper function to build most common HAVING conditional clauses. This method can take a variable number of parameters. If called with two parameters, they are taken as $field and $value with $operator having a value of IN if $value is an array and = otherwise. Parameters $field: The name of the field to check. If you would like to add a more complex condition involving operators or functions, use having(). $value: The valu

ContentEntityBase::id

public ContentEntityBase::id() Gets the identifier. Return value string|int|null The entity identifier, or NULL if the object does not yet have an identifier. Overrides Entity::id File core/lib/Drupal/Core/Entity/ContentEntityBase.php, line 422 Class ContentEntityBase Implements Entity Field API specific enhancements to the Entity class. Namespace Drupal\Core\Entity Code public function id() { return $this->getEntityKey('id'); }

ViewsData::get

public ViewsData::get($key = NULL) Gets data for a particular table, or all tables. Parameters string|null $key: The key of the cache entry to retrieve. Defaults to NULL, this will return all table data. Return value array $data An array of table data. Deprecated NULL $key deprecated in Drupal 8.2.x and will be removed in 9.0.0. Use getAll() instead. See also https://www.drupal.org/node/2723553 File core/modules/views/src/ViewsData.php, line 146 Class ViewsData Class to manage and la

SearchPageRepository::setDefaultSearchPage

public SearchPageRepository::setDefaultSearchPage(SearchPageInterface $search_page) Sets a given search page as the default. Parameters \Drupal\search\SearchPageInterface $search_page: The search page entity. Return value static Overrides SearchPageRepositoryInterface::setDefaultSearchPage File core/modules/search/src/SearchPageRepository.php, line 98 Class SearchPageRepository Provides a repository for Search Page config entities. Namespace Drupal\search Code public function setDefa

ModuleHandler::verifyImplementations

protected ModuleHandler::verifyImplementations(&$implementations, $hook) Verifies an array of implementations loaded from the cache, by including the lazy-loaded $module.$group.inc, and checking function_exists(). Parameters string[] $implementations: Implementation "group" by module name. string $hook: The hook name. Return value bool TRUE, if all implementations exist. FALSE, if one or more implementations don't exist and need to be removed from the cache. File core/lib/Drupal/Core/Exte