public function FeedForm::import in Feeds 8.3
Form submission handler for the 'import' action.
Parameters
array $form: An associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.
File
- src/
FeedForm.php, line 236
Class
- FeedForm
- Form controller for the feed edit forms.
Namespace
Drupal\feedsCode
public function import(array $form, FormStateInterface $form_state) {
$feed = $this->entity;
$feed
->startBatchImport();
return $feed;
}