Comment.php in Drupal 9
Same filename in this branch
- 9 core/modules/comment/src/Entity/Comment.php
- 9 core/modules/comment/src/Plugin/views/wizard/Comment.php
- 9 core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
- 9 core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
- 9 core/modules/comment/tests/modules/d6_comment_test/src/Plugin/migrate/source/d6/Comment.php
File
core/modules/comment/tests/modules/d6_comment_test/src/Plugin/migrate/source/d6/Comment.phpView 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);
}
}