AggregatorController::feedAdd

public AggregatorController::feedAdd() Presents the aggregator feed creation form. Return value array A form array as expected by drupal_render(). File core/modules/aggregator/src/Controller/AggregatorController.php, line 49 Class AggregatorController Returns responses for aggregator module routes. Namespace Drupal\aggregator\Controller Code public function feedAdd() { $feed = $this->entityManager()->getStorage('aggregator_feed') ->create(array( 'refresh' => 36

AggregatorController::create

public static AggregatorController::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The ser

AggregatorController::buildPageList

protected AggregatorController::buildPageList(array $items, $feed_source = '') Builds a listing of aggregator feed items. Parameters \Drupal\aggregator\ItemInterface[] $items: The items to be listed. array|string $feed_source: The feed source URL. Return value array The rendered list of items for the feed. File core/modules/aggregator/src/Controller/AggregatorController.php, line 68 Class AggregatorController Returns responses for aggregator module routes. Namespace Drupal\aggregator\

AggregatorController::adminOverview

public AggregatorController::adminOverview() Displays the aggregator administration page. Return value array A render array as expected by drupal_render(). File core/modules/aggregator/src/Controller/AggregatorController.php, line 109 Class AggregatorController Returns responses for aggregator module routes. Namespace Drupal\aggregator\Controller Code public function adminOverview() { $entity_manager = $this->entityManager(); $feeds = $entity_manager->getStorage('aggregator_

AggregatorController::$dateFormatter

The date formatter service. Type: \Drupal\Core\Datetime\DateFormatterInterface File core/modules/aggregator/src/Controller/AggregatorController.php, line 22 Class AggregatorController Returns responses for aggregator module routes. Namespace Drupal\aggregator\Controller Code protected $dateFormatter;

AggregatorController

Returns responses for aggregator module routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\aggregator\Controller\AggregatorController File core/modules/aggregator/src/Controller/AggregatorController.php, line 15 Namespace Drupal\aggregator\Controller Members Name Modifiers Type Description AggregatorCo

aggregator.theme.inc

Preprocessors and theme functions of Aggregator module. File core/modules/aggregator/aggregator.theme.inc Functions Name Description template_preprocess_aggregator_feed Prepares variables for aggregator feed templates. template_preprocess_aggregator_item Prepares variables for aggregator item templates.

aggregator.module

Used to aggregate syndicated content (RSS, RDF, and Atom). File core/modules/aggregator/aggregator.module Functions Name Description aggregator_cron Implements hook_cron(). aggregator_entity_extra_field_info Implements hook_entity_extra_field_info(). aggregator_help Implements hook_help(). aggregator_preprocess_block Implements hook_preprocess_HOOK() for block templates. aggregator_theme Implements hook_theme(). _aggregator_allowed_tags Gets the list of allowed tag

aggregator.install

Install, update and uninstall functions for the aggregator module. File core/modules/aggregator/aggregator.install Functions Name Description aggregator_requirements Implements hook_requirements(). aggregator_update_8001 The simple presence of this update function clears cached field definitions.

aggregator-item.html.twig

Default theme implementation to present a feed item in an aggregator page. Available variables: url: URL to the originating feed item. title: Title of the feed item. content: All field items. Use {{ content }} to print them all, or print a subset such as {{ content.field_example }}. Use {{ content|without('field_example') }} to temporarily suppress the printing of a given element. attributes: HTML attributes for the wrapper. title_prefix: Additional output populated by modules, intended to