public function ViewsQuerySubstitutionsEvent::getSubstitutions in Hook Event Dispatcher 8
Get the query substitutions.
Return value
array An associative array where each key is a string to be replaced, and the corresponding value is its replacement. The strings to replace are often surrounded with '***', as illustrated in the example implementation, to avoid collisions with other values in the query.
File
- src/
Event/ Views/ ViewsQuerySubstitutionsEvent.php, line 43
Class
- ViewsQuerySubstitutionsEvent
- Class ViewsQuerySubstitutionEvent.
Namespace
Drupal\hook_event_dispatcher\Event\ViewsCode
public function &getSubstitutions() {
return $this->substitutions;
}