You are here

function paragraphs_set_load in Paragraphs Sets 8

Same name and namespace in other branches
  1. 8.2 paragraphs_sets.module \paragraphs_set_load()

Helper function to load a paragraphs set.

Parameters

string $name: Name (ID) of paragraphs set.

Return value

\Drupal\paragraphs_sets\Entity\ParagraphsSet The loaded set or NULL if no set with the given name exists.

1 string reference to 'paragraphs_set_load'
ParagraphsSetForm::form in src/Form/ParagraphsSetForm.php
Gets the actual form array to be built.

File

./paragraphs_sets.module, line 189
Main functions of paragraphs_sets.module.

Code

function paragraphs_set_load($name) {
  return ParagraphsSet::load($name);
}