protected function SearchPage::initializeIterator in Drupal 10
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()
- 9 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
1 call to SearchPage::initializeIterator()
- SearchPage::doCount in core/
modules/ search/ src/ Plugin/ migrate/ source/ d7/ SearchPage.php - Gets the source count using countQuery().
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());
}