You are here

public function FieldGroup::query in Field Group 8

Same name in this branch
  1. 8 contrib/field_group_migrate/src/Plugin/migrate/source/d6/FieldGroup.php \Drupal\field_group_migrate\Plugin\migrate\source\d6\FieldGroup::query()
  2. 8 contrib/field_group_migrate/src/Plugin/migrate/source/d7/FieldGroup.php \Drupal\field_group_migrate\Plugin\migrate\source\d7\FieldGroup::query()
Same name and namespace in other branches
  1. 8.3 contrib/field_group_migrate/src/Plugin/migrate/source/d6/FieldGroup.php \Drupal\field_group_migrate\Plugin\migrate\source\d6\FieldGroup::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

contrib/field_group_migrate/src/Plugin/migrate/source/d6/FieldGroup.php, line 20

Class

FieldGroup
Drupal 6 field_group source.

Namespace

Drupal\field_group_migrate\Plugin\migrate\source\d6

Code

public function query() {
  $query = $this
    ->select('content_group', 'g')
    ->fields('g', [
    'group_type',
    'type_name',
    'group_name',
    'label',
    'settings',
    'weight',
  ]);
  return $query;
}