You are here

public static function AjaxCommentsController::getCommentSelectorPrefix in AJAX Comments 8

Get the prefix for a selector class for an individual comment.

Return value

string The portion of a CSS class name that prepends the comment ID.

4 calls to AjaxCommentsController::getCommentSelectorPrefix()
AjaxCommentsController::cancel in src/Controller/AjaxCommentsController.php
Cancel handler for the comment edit form.
AjaxCommentsController::edit in src/Controller/AjaxCommentsController.php
Returns the comment edit form.
AjaxCommentsController::reply in src/Controller/AjaxCommentsController.php
Builds ajax response to display a form to reply to another comment.
AjaxCommentsController::save in src/Controller/AjaxCommentsController.php
Submit handler for the comment reply and edit forms.

File

src/Controller/AjaxCommentsController.php, line 120

Class

AjaxCommentsController
Controller routines for AJAX comments routes.

Namespace

Drupal\ajax_comments\Controller

Code

public static function getCommentSelectorPrefix() {
  return '.' . static::$commentClassPrefix;
}