function CommentType::getIds

Same name and namespace in other branches
  1. 9 core/modules/comment/src/Plugin/migrate/source/CommentType.php \Drupal\comment\Plugin\migrate\source\CommentType::getIds()
  2. 10 core/modules/comment/src/Plugin/migrate/source/CommentType.php \Drupal\comment\Plugin\migrate\source\CommentType::getIds()
  3. 11.x core/modules/comment/src/Plugin/migrate/source/CommentType.php \Drupal\comment\Plugin\migrate\source\CommentType::getIds()

Overrides MigrateSourceInterface::getIds

File

core/modules/comment/src/Plugin/migrate/source/d7/CommentType.php, line 95

Class

CommentType
Drupal 7 comment type source from database.

Namespace

Drupal\comment\Plugin\migrate\source\d7

Code

public function getIds() {
    return [
        'bundle' => [
            'type' => 'string',
        ],
    ];
}

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