public function FieldInstancePerFormDisplay::query in Zircon Profile 8
Same name in this branch
- 8 core/modules/field/src/Plugin/migrate/source/d6/FieldInstancePerFormDisplay.php \Drupal\field\Plugin\migrate\source\d6\FieldInstancePerFormDisplay::query()
- 8 core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php \Drupal\field\Plugin\migrate\source\d7\FieldInstancePerFormDisplay::query()
Same name and namespace in other branches
- 8.0 core/modules/field/src/Plugin/migrate/source/d7/FieldInstancePerFormDisplay.php \Drupal\field\Plugin\migrate\source\d7\FieldInstancePerFormDisplay::query()
Return value
\Drupal\Core\Database\Query\SelectInterface
Overrides SqlBase::query
File
- core/
modules/ field/ src/ Plugin/ migrate/ source/ d7/ FieldInstancePerFormDisplay.php, line 25 - Contains \Drupal\field\Plugin\migrate\source\d7\FieldInstancePerFormDisplay.
Class
- FieldInstancePerFormDisplay
- The field instance per form display source class.
Namespace
Drupal\field\Plugin\migrate\source\d7Code
public function query() {
$query = $this
->select('field_config_instance', 'fci')
->fields('fci', array(
'field_name',
'bundle',
'data',
'entity_type',
))
->fields('fc', array(
'type',
'module',
))
->condition('fci.entity_type', 'node');
$query
->join('field_config', 'fc', 'fci.field_id = fc.id');
return $query;
}