I have a content type with multiple field paragraph. I would like to get all the paragraphs from the current node in form_views_exposed_form_alter.
$node = menu_get_object(); $storage = Drupal::getContainer()->get('entity_type.manager')->getStorage('paragraph'); $pids = $storage->getQuery();
which gets me all the paragraphs not only the ones of the current node. What am I missing?