function CommentVariablePerCommentType::fields

Overrides CommentVariable::fields

File

core/modules/comment/src/Plugin/migrate/source/d6/CommentVariablePerCommentType.php, line 52

Class

CommentVariablePerCommentType
Plugin annotation @MigrateSource( id = "d6_comment_variable_per_comment_type", source_module = "comment" )

Namespace

Drupal\comment\Plugin\migrate\source\d6

Code

public function fields() {
    return [
        'comment_type' => $this->t('The comment type'),
        'label' => $this->t('The comment type label'),
        'description' => $this->t('The comment type description'),
    ];
}

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