You are here

public function PrivateContentSettings::query in Private 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/migrate/source/d6/PrivateContentSettings.php \Drupal\private_content\Plugin\migrate\source\d6\PrivateContentSettings::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

src/Plugin/migrate/source/d6/PrivateContentSettings.php, line 20

Class

PrivateContentSettings
Migrates private content type settings.

Namespace

Drupal\private_content\Plugin\migrate\source\d6

Code

public function query() {
  $query = $this
    ->select('node_type', 't')
    ->fields('t', array(
    'type',
  ));
  return $query;
}