public function Rss::__construct in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-feed/src/Reader/Entry/Rss.php \Zend\Feed\Reader\Entry\Rss::__construct()
- 8.0 vendor/zendframework/zend-feed/src/Reader/Feed/Rss.php \Zend\Feed\Reader\Feed\Rss::__construct()
- 8.0 vendor/zendframework/zend-feed/src/Writer/Renderer/Entry/Rss.php \Zend\Feed\Writer\Renderer\Entry\Rss::__construct()
- 8.0 vendor/zendframework/zend-feed/src/Writer/Renderer/Feed/Rss.php \Zend\Feed\Writer\Renderer\Feed\Rss::__construct()
- 8.0 core/modules/node/src/Plugin/views/row/Rss.php \Drupal\node\Plugin\views\row\Rss::__construct()
Same name and namespace in other branches
- 8 core/modules/node/src/Plugin/views/row/Rss.php \Drupal\node\Plugin\views\row\Rss::__construct()
Constructs the Rss object.
Parameters
array $configuration: A configuration array containing information about the plugin instance.
string $plugin_id: The plugin_id for the plugin instance.
mixed $plugin_definition: The plugin implementation definition.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
Overrides RssPluginBase::__construct
File
- core/
modules/ node/ src/ Plugin/ views/ row/ Rss.php, line 61 - Contains \Drupal\node\Plugin\views\row\Rss.
Class
- Rss
- Plugin which performs a node_view on the resulting object and formats it as an RSS item.
Namespace
Drupal\node\Plugin\views\rowCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityManagerInterface $entity_manager) {
parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_manager);
$this->nodeStorage = $entity_manager
->getStorage('node');
}