Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment