Commit 0dda5df5 authored by Tino Goratsch's avatar Tino Goratsch

- removed the now unused DispayFeed event

- renamed the feed_link_tags.tpl template file to head.feed_links.tpl to be conform with the current ACP3 conventions
parent dfad7f26
<?php
/**
* Copyright (c) 2016 by the ACP3 Developers.
* See the LICENCE file at the top-level module directory for licencing details.
*/
namespace ACP3\Modules\ACP3\Feeds\Event;
use ACP3\Modules\ACP3\Feeds\View\Renderer\FeedGenerator;
use Symfony\Component\EventDispatcher\Event;
/**
* Class DisplayFeed
* @package ACP3\Modules\ACP3\Feeds\Event
*/
class DisplayFeed extends Event
{
/**
* @var \ACP3\Modules\ACP3\Feeds\View\Renderer\FeedGenerator
*/
protected $feedGenerator;
/**
* @param \ACP3\Modules\ACP3\Feeds\View\Renderer\FeedGenerator $feedGenerator
*/
public function __construct(FeedGenerator $feedGenerator)
{
$this->feedGenerator = $feedGenerator;
}
/**
* @return \ACP3\Modules\ACP3\Feeds\View\Renderer\FeedGenerator
*/
public function getFeedGenerator()
{
return $this->feedGenerator;
}
}
......@@ -38,6 +38,6 @@ class OnLayoutHeadListener
{
$this->view->assign('available_feeds', $this->availableFeedsRegistrar->getAvailableModuleNames());
$this->view->displayTemplate('Feeds/Partials/feed_link_tags.tpl');
$this->view->displayTemplate('Feeds/Partials/head.feed_links.tpl');
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment