CommentManager.php |
file |
core/modules/comment/src/CommentManager.php |
|
CommentManager::$authenticatedCanPostComments |
property |
core/modules/comment/src/CommentManager.php |
Whether the \Drupal\user\RoleInterface::AUTHENTICATED_ID can post comments. |
CommentManager::$currentUser |
property |
core/modules/comment/src/CommentManager.php |
The current user. |
CommentManager::$entityDisplayRepository |
property |
core/modules/comment/src/CommentManager.php |
The entity display repository. |
CommentManager::$entityFieldManager |
property |
core/modules/comment/src/CommentManager.php |
The entity field manager. |
CommentManager::$entityTypeManager |
property |
core/modules/comment/src/CommentManager.php |
The entity type manager. |
CommentManager::$moduleHandler |
property |
core/modules/comment/src/CommentManager.php |
The module handler service. |
CommentManager::$userConfig |
property |
core/modules/comment/src/CommentManager.php |
The user settings config object. |
CommentManager::addBodyField |
function |
core/modules/comment/src/CommentManager.php |
Creates a comment_body field. |
CommentManager::forbiddenMessage |
function |
core/modules/comment/src/CommentManager.php |
Provides a message if posting comments is forbidden. |
CommentManager::getCountNewComments |
function |
core/modules/comment/src/CommentManager.php |
Returns the number of new comments on a given entity for the current user. |
CommentManager::getFields |
function |
core/modules/comment/src/CommentManager.php |
Utility function to return an array of comment fields. |
CommentManager::__construct |
function |
core/modules/comment/src/CommentManager.php |
Construct the CommentManager object. |
CommentManagerInterface |
interface |
core/modules/comment/src/CommentManagerInterface.php |
Comment manager contains common functions to manage comment fields. |
CommentManagerInterface.php |
file |
core/modules/comment/src/CommentManagerInterface.php |
|
CommentManagerInterface::addBodyField |
function |
core/modules/comment/src/CommentManagerInterface.php |
Creates a comment_body field. |
CommentManagerInterface::COMMENT_MODE_FLAT |
constant |
core/modules/comment/src/CommentManagerInterface.php |
Comments are displayed in a flat list - expanded. |
CommentManagerInterface::COMMENT_MODE_THREADED |
constant |
core/modules/comment/src/CommentManagerInterface.php |
Comments are displayed as a threaded list - expanded. |
CommentManagerInterface::forbiddenMessage |
function |
core/modules/comment/src/CommentManagerInterface.php |
Provides a message if posting comments is forbidden. |
CommentManagerInterface::getCountNewComments |
function |
core/modules/comment/src/CommentManagerInterface.php |
Returns the number of new comments on a given entity for the current user. |
CommentManagerInterface::getFields |
function |
core/modules/comment/src/CommentManagerInterface.php |
Utility function to return an array of comment fields. |
CommentManagerTest |
class |
core/modules/comment/tests/src/Unit/CommentManagerTest.php |
Tests Drupal\comment\CommentManager. |
CommentManagerTest.php |
file |
core/modules/comment/tests/src/Unit/CommentManagerTest.php |
|
CommentManagerTest::testGetFields |
function |
core/modules/comment/tests/src/Unit/CommentManagerTest.php |
Tests the getFields method. |
CommentNameConstraint |
class |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Supports validating comment author names. |
CommentNameConstraint.php |
file |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
|
CommentNameConstraint::$messageMatch |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Message shown when the name doesn't match the author's name. |
CommentNameConstraint::$messageNameTaken |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Message shown when an anonymous user comments using a registered name. |
CommentNameConstraint::$messageRequired |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
Message shown when an admin changes the comment-author to an invalid user. |
CommentNameConstraint::coversFields |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraint.php |
An array of entity fields which should be passed to the validator. |
CommentNameConstraintValidator |
class |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Validates the CommentName constraint. |
CommentNameConstraintValidator.php |
file |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
|
CommentNameConstraintValidator::$userStorage |
property |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
User storage handler. |
CommentNameConstraintValidator::create |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Instantiates a new instance of this class. |
CommentNameConstraintValidator::getAnonymousContactDetailsSetting |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Gets the anonymous contact details setting from the comment. |
CommentNameConstraintValidator::validate |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
|
CommentNameConstraintValidator::__construct |
function |
core/modules/comment/src/Plugin/Validation/Constraint/CommentNameConstraintValidator.php |
Constructs a new CommentNameConstraintValidator. |
CommentNewIndicatorTest |
class |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Tests the 'new' indicator posted on comments. |
CommentNewIndicatorTest |
class |
core/modules/history/tests/src/Functional/CommentNewIndicatorTest.php |
Tests the 'new' indicator posted on comments. |
CommentNewIndicatorTest.php |
file |
core/modules/history/tests/src/Functional/CommentNewIndicatorTest.php |
|
CommentNewIndicatorTest.php |
file |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
|
CommentNewIndicatorTest::$defaultTheme |
property |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
The theme to install as the default for testing. |
CommentNewIndicatorTest::$defaultTheme |
property |
core/modules/history/tests/src/Functional/CommentNewIndicatorTest.php |
The theme to install as the default for testing. |
CommentNewIndicatorTest::$modules |
property |
core/modules/history/tests/src/Functional/CommentNewIndicatorTest.php |
Use the main node listing to test rendering on teasers. |
CommentNewIndicatorTest::$modules |
property |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Use the main node listing to test rendering on teasers. |
CommentNewIndicatorTest::renderNewCommentsNodeLinks |
function |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Get node "x new comments" metadata from the server for the current user. |
CommentNewIndicatorTest::renderNewCommentsNodeLinks |
function |
core/modules/history/tests/src/Functional/CommentNewIndicatorTest.php |
Get node "x new comments" metadata from the server for the current user. |
CommentNewIndicatorTest::testCommentNewCommentsIndicator |
function |
core/modules/history/tests/src/Functional/CommentNewIndicatorTest.php |
Tests new comment marker. |
CommentNewIndicatorTest::testCommentNewCommentsIndicator |
function |
core/modules/comment/tests/src/Functional/CommentNewIndicatorTest.php |
Tests new comment marker. |
CommentNodeAccessTest |
class |
core/modules/comment/tests/src/Functional/CommentNodeAccessTest.php |
Tests comments with node access. |