Commit 234af3fc authored by catch's avatar catch
Browse files

Issue #3163425 by shetpooja04, paulocs: Unused variable $fields in comment...

Issue #3163425 by shetpooja04, paulocs: Unused variable $fields in comment module, CommentViewsData.php
parent 2b815f1a
......@@ -200,7 +200,7 @@ public function getViewsData() {
if ($type == 'comment' || !$entity_type->entityClassImplements(ContentEntityInterface::class) || !$entity_type->getBaseTable()) {
continue;
}
if ($fields = \Drupal::service('comment.manager')->getFields($type)) {
if (\Drupal::service('comment.manager')->getFields($type)) {
$data['comment_field_data'][$type] = [
'relationship' => [
'title' => $entity_type->getLabel(),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment