protected function CommentVariable::commentPrefixes in Drupal 8
Comment related data for fields.
2 calls to CommentVariable::commentPrefixes()
- CommentVariable::fields in core/
modules/ comment/ src/ Plugin/ migrate/ source/ d6/ CommentVariable.php - Returns available fields on the source.
- CommentVariable::getCommentVariables in core/
modules/ comment/ src/ Plugin/ migrate/ source/ d6/ CommentVariable.php - Retrieves the values of the comment variables grouped by node type.
File
- core/
modules/ comment/ src/ Plugin/ migrate/ source/ d6/ CommentVariable.php, line 92
Class
- CommentVariable
- Plugin annotation @MigrateSource( id = "d6_comment_variable", source_module = "comment" )
Namespace
Drupal\comment\Plugin\migrate\source\d6Code
protected function commentPrefixes() {
return [
'comment' => $this
->t('Default comment setting'),
'comment_default_mode' => $this
->t('Default display mode'),
'comment_default_order' => $this
->t('Default display order'),
'comment_default_per_page' => $this
->t('Default comments per page'),
'comment_controls' => $this
->t('Comment controls'),
'comment_anonymous' => $this
->t('Anonymous commenting'),
'comment_subject_field' => $this
->t('Comment subject field'),
'comment_preview' => $this
->t('Preview comment'),
'comment_form_location' => $this
->t('Location of comment submission form'),
];
}