Comment.php
Same filename in this branch
Same filename in other branches
- 8.9.x core/modules/comment/src/Entity/Comment.php
- 8.9.x core/modules/comment/src/Plugin/views/wizard/Comment.php
- 8.9.x core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
- 8.9.x core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
- 10 core/modules/comment/src/Entity/Comment.php
- 10 core/modules/comment/src/Plugin/views/wizard/Comment.php
- 10 core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
- 10 core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
- 11.x core/modules/comment/src/Entity/Comment.php
- 11.x core/modules/comment/src/Plugin/views/wizard/Comment.php
- 11.x core/modules/comment/src/Plugin/migrate/source/d6/Comment.php
- 11.x core/modules/comment/src/Plugin/migrate/source/d7/Comment.php
Namespace
Drupal\d6_comment_test\Plugin\migrate\source\d6File
-
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.