Commit f710b045 authored by webchick's avatar webchick

Issue #2211611 by benjy | eliza411: The view mode source misses a requirements check for CCK.

parent fcc5f3b2
......@@ -11,7 +11,8 @@
* The field instance per view mode source class.
*
* @MigrateSource(
* id = "d6_field_instance_per_view_mode"
* id = "d6_field_instance_per_view_mode",
* source_provider = "content"
* )
*/
class FieldInstancePerViewMode extends ViewModeBase {
......
......@@ -13,7 +13,8 @@
* Drupal 6 upload instance source from database.
*
* @MigrateSource(
* id = "d6_upload_instance"
* id = "d6_upload_instance",
* source_provider = "upload"
* )
*/
class UploadInstance extends DrupalSqlBase {
......@@ -69,13 +70,6 @@ public function query() {
/**
* {@inheritdoc}
*/
public function checkRequirements() {
return $this->moduleExists('upload');
}
/**
* {@inheritdoc
*/
public function fields() {
return array(
'node_type' => $this->t('Node type'),
......
......@@ -11,7 +11,8 @@
* The view mode source.
*
* @MigrateSource(
* id = "d6_view_mode"
* id = "d6_view_mode",
* source_provider = "content"
* )
*/
class ViewMode extends ViewModeBase {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment