-
- /**
- * @param mixed[] $data Template data
- *
- * @return mixed[] Template data after active plugins hook execution.
- */
- protected function executeHooks(array $data, string $feedType): array
- {
- $this->container->pluginManager->executeHooks(
- 'render_feed',
- $data,
- [
- 'loggedin' => $this->container->loginManager->isLoggedIn(),
- 'target' => $feedType,
- ]
- );
-
- return $data;
- }