class Comment

Same name in this branch
  1. 9 core/modules/comment/src/Entity/Comment.php \Drupal\comment\Entity\Comment
  2. 9 core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment
  3. 9 core/modules/comment/src/Plugin/migrate/source/d6/Comment.php \Drupal\comment\Plugin\migrate\source\d6\Comment
  4. 9 core/modules/comment/src/Plugin/migrate/source/d7/Comment.php \Drupal\comment\Plugin\migrate\source\d7\Comment
Same name and namespace in other branches
  1. 11.x core/modules/comment/src/Entity/Comment.php \Drupal\comment\Entity\Comment
  2. 11.x core/modules/comment/src/Plugin/views/wizard/Comment.php \Drupal\comment\Plugin\views\wizard\Comment
  3. 11.x core/modules/comment/src/Plugin/migrate/source/d6/Comment.php \Drupal\comment\Plugin\migrate\source\d6\Comment
  4. 11.x core/modules/comment/src/Plugin/migrate/source/d7/Comment.php \Drupal\comment\Plugin\migrate\source\d7\Comment

Test source plugin for deprecation testing.

Plugin annotation


@MigrateSource(
  id = "d6_comment_test",
  source_module = "comment"
)

Hierarchy

Expanded class hierarchy of Comment

348 string references to 'Comment'
ActionTest::providerSource in core/modules/system/tests/src/Kernel/Plugin/migrate/source/ActionTest.php
AuthorNameFormatter::isApplicable in core/modules/comment/src/Plugin/Field/FieldFormatter/AuthorNameFormatter.php
BigPipeRegressionTest::testCommentForm_2698811 in core/modules/ckeditor/tests/src/FunctionalJavascript/BigPipeRegressionTest.php
Ensure comment form works with history and big_pipe modules.
CategoryAutocompleteTest::providerTestAutocompleteSuggestions in core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php
Data provider for testAutocompleteSuggestions().
CategoryAutocompleteTest::setUp in core/modules/block/tests/src/Unit/CategoryAutocompleteTest.php

... See full list

File

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

Namespace

Drupal\d6_comment_test\Plugin\migrate\source\d6
View source
class Comment extends CoreComment {
  
  /**
   * Allow access to protected method.
   */
  public function prepareComment(Row $row) {
    return parent::prepareComment($row);
  }

}

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