protected function CommentVariable::commentPrefixes in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php \Drupal\comment\Plugin\migrate\source\d6\CommentVariable::commentPrefixes()
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 91 - Contains \Drupal\comment\Plugin\migrate\source\d6\CommentVariable.
Class
- CommentVariable
- Plugin annotation @MigrateSource( id = "d6_comment_variable" )
Namespace
Drupal\comment\Plugin\migrate\source\d6Code
protected function commentPrefixes() {
return array(
'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'),
);
}