protected function SearchPage::initializeIterator in Drupal 9
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/migrate/source/d7/SearchPage.php \Drupal\search\Plugin\migrate\source\d7\SearchPage::initializeIterator()
Initializes the iterator with the source data.
Return value
\Iterator Returns an iterable object of data for this source.
Overrides Variable::initializeIterator
File
- core/
modules/ search/ src/ Plugin/ migrate/ source/ d7/ SearchPage.php, line 27
Class
- SearchPage
- Drupal 7 search active core modules and rankings source from database.
Namespace
Drupal\search\Plugin\migrate\source\d7Code
protected function initializeIterator() {
return new \ArrayIterator($this
->values());
}