function NodeType::initializeIterator
Overrides SqlBase::initializeIterator
File
-
core/
modules/ node/ src/ Plugin/ migrate/ source/ d6/ NodeType.php, line 114
Class
- NodeType
- Drupal 6 Node types source from database.
Namespace
Drupal\node\Plugin\migrate\source\d6Code
protected function initializeIterator() {
$this->teaserLength = $this->variableGet('teaser_length', 600);
$this->nodePreview = $this->variableGet('node_preview', 0);
$this->themeSettings = $this->variableGet('theme_settings', []);
return parent::initializeIterator();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.