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 @@ ...@@ -11,7 +11,8 @@
* The field instance per view mode source class. * The field instance per view mode source class.
* *
* @MigrateSource( * @MigrateSource(
* id = "d6_field_instance_per_view_mode" * id = "d6_field_instance_per_view_mode",
* source_provider = "content"
* ) * )
*/ */
class FieldInstancePerViewMode extends ViewModeBase { class FieldInstancePerViewMode extends ViewModeBase {
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
* Drupal 6 upload instance source from database. * Drupal 6 upload instance source from database.
* *
* @MigrateSource( * @MigrateSource(
* id = "d6_upload_instance" * id = "d6_upload_instance",
* source_provider = "upload"
* ) * )
*/ */
class UploadInstance extends DrupalSqlBase { class UploadInstance extends DrupalSqlBase {
...@@ -69,13 +70,6 @@ public function query() { ...@@ -69,13 +70,6 @@ public function query() {
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function checkRequirements() {
return $this->moduleExists('upload');
}
/**
* {@inheritdoc
*/
public function fields() { public function fields() {
return array( return array(
'node_type' => $this->t('Node type'), 'node_type' => $this->t('Node type'),
......
...@@ -11,7 +11,8 @@ ...@@ -11,7 +11,8 @@
* The view mode source. * The view mode source.
* *
* @MigrateSource( * @MigrateSource(
* id = "d6_view_mode" * id = "d6_view_mode",
* source_provider = "content"
* ) * )
*/ */
class ViewMode extends ViewModeBase { 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