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' => 3600, )); return $this->entityFormBuilder()->getForm($feed); }
Please login to continue.