Comment.php

Same filename in this branch
  1. 9 core/modules/comment/src/Entity/Comment.php
  2. 9 core/modules/comment/src/Plugin/views/wizard/Comment.php
  3. 9 core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
  4. 9 core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
Same filename in other branches
  1. 8.9.x core/modules/comment/src/Entity/Comment.php
  2. 8.9.x core/modules/comment/src/Plugin/views/wizard/Comment.php
  3. 8.9.x core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
  4. 8.9.x core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
  5. 10 core/modules/comment/src/Entity/Comment.php
  6. 10 core/modules/comment/src/Plugin/views/wizard/Comment.php
  7. 10 core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
  8. 10 core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
  9. 11.x core/modules/comment/src/Entity/Comment.php
  10. 11.x core/modules/comment/src/Plugin/views/wizard/Comment.php
  11. 11.x core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
  12. 11.x core/modules/comment/src/Plugin/migrate/source/d7/Comment.php

Namespace

Drupal\d6_comment_test\Plugin\migrate\source\d6

File

core/modules/comment/tests/modules/d6_comment_test/src/Plugin/migrate/source/d6/Comment.php

View source
<?php

namespace Drupal\d6_comment_test\Plugin\migrate\source\d6;

use Drupal\comment\Plugin\migrate\source\d6\Comment as CoreComment;
use Drupal\migrate\Row;

/**
 * Test source plugin for deprecation testing.
 *
 * @MigrateSource(
 *   id = "d6_comment_test",
 *   source_module = "comment"
 * )
 */
class Comment extends CoreComment {
    
    /**
     * Allow access to protected method.
     */
    public function prepareComment(Row $row) {
        return parent::prepareComment($row);
    }

}

Classes

Title Deprecated Summary
Comment Test source plugin for deprecation testing.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.