You are here

public function FieldInstancePerViewMode::query in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerViewMode.php \Drupal\field\Plugin\migrate\source\d6\FieldInstancePerViewMode::query()
  2. 8 core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerViewMode.php \Drupal\field\Plugin\migrate\source\d7\FieldInstancePerViewMode::query()
Same name and namespace in other branches
  1. 8.0 core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerViewMode.php \Drupal\field\Plugin\migrate\source\d7\FieldInstancePerViewMode::query()

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerViewMode.php, line 42
Contains \Drupal\field\Plugin\migrate\source\d7\FieldInstancePerViewMode.

Class

FieldInstancePerViewMode
The field instance per view mode source class.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

public function query() {
  return $this
    ->select('field_config_instance', 'fci')
    ->fields('fci', array(
    'entity_type',
    'bundle',
    'field_name',
    'data',
  ));
}