You are here

public function FieldCollectionType::query in Paragraphs 8

Return value

\Drupal\Core\Database\Query\SelectInterface

Overrides SqlBase::query

File

src/Plugin/migrate/source/d7/FieldCollectionType.php, line 35

Class

FieldCollectionType
Field Collection Type source plugin.

Namespace

Drupal\paragraphs\Plugin\migrate\source\d7

Code

public function query() {
  $query = $this
    ->select('field_config', 'fc')
    ->fields('fc');
  $query
    ->condition('fc.type', 'field_collection');
  $query
    ->condition('fc.active', TRUE);
  return $query;
}