public function PrivateContentSettings::query in Private content 8.2
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- src/
Plugin/ migrate/ source/ d6/ PrivateContentSettings.php, line 21
Class
- PrivateContentSettings
- Migrates private content type settings.
Namespace
Drupal\private_content\Plugin\migrate\source\d6Code
public function query() {
$query = $this
->select('node_type', 't')
->fields('t', array(
'type',
));
return $query;
}