Error message
Deprecated function: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in Drupal\Core\Entity\Sql\SqlContentEntityStorage->mapFromStorageRecords() (line 474 of core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
Drupal\Core\Entity\Sql\SqlContentEntityStorage->mapFromStorageRecords() (Line: 428)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->getFromStorage() (Line: 394)
Drupal\Core\Entity\Sql\SqlContentEntityStorage->doLoadMultiple() (Line: 312)
Drupal\Core\Entity\EntityStorageBase->loadMultiple() (Line: 262)
Drupal\Core\Entity\EntityStorageBase->load() (Line: 503)
Drupal\Core\Entity\EntityBase::load() (Line: 316)
Drupal\api\Entity\Project::getBySlug() (Line: 115)
Drupal\api\Controller\OutputController->getProject() (Line: 733)
Drupal\api\Controller\OutputController->detailPageTypeRoute()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 637)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 201)
Drupal\page_cache\StackMiddleware\PageCache->fetch() (Line: 138)
Drupal\page_cache\StackMiddleware\PageCache->lookup() (Line: 87)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
- You are browsing documentation for rules 8.x-3.x, which is not supported anymore. Read the updated version of this page for rules 7.x-2.x (the latest version).
function RulesConfigurableEventHandlerInterface::determineQualifiedEvents
Determines the qualified event names for the dispatched event.
@todo The 'object' type hint should be replaced with the appropriate
class once Symfony 4 is no longer supported.
Parameters
object $event:
The event data of the event being dispatched.
In Drupal 9 this will be a \Symfony\Component\EventDispatcher\Event,
In Drupal 10 this will be a \Symfony\Contracts\EventDispatcher\Event.
string $event_name:
The event base name.
array $event_definition:
The event definition. If necessary for the event, the contained context
definitions may be refined as suiting for the event data.
Return value
string[]
The array of qualified event name suffixes to add; e.g, 'article' if
the fully-qualified event "rules_entity_view:node--article" should be
triggered in addition to base event "rules_entity_view:node".
1 method overrides RulesConfigurableEventHandlerInterface::determineQualifiedEvents()
- ConfigurableEventHandlerEntityBundle::determineQualifiedEvents in src/EventHandler/ConfigurableEventHandlerEntityBundle.php
- Determines the qualified event names for the dispatched event.
File
-
src/Core/RulesConfigurableEventHandlerInterface.php, line 49
Class
- RulesConfigurableEventHandlerInterface
- Interface for handling configurable rules events.
Namespace
Drupal\rules\Core
Code
public static function determineQualifiedEvents(object $event, $event_name, array &$event_definition);