You are here

public function ParagraphsFrontendUIController::addSet in Paragraphs frontend ui 8

Select a paragraph type.

1 string reference to 'ParagraphsFrontendUIController::addSet'
paragraphs_frontend_ui.routing.yml in ./paragraphs_frontend_ui.routing.yml
paragraphs_frontend_ui.routing.yml

File

src/Controller/ParagraphsFrontendUIController.php, line 98

Class

ParagraphsFrontendUIController
Controller for up and down actions.

Namespace

Drupal\paragraphs_frontend_ui\Controller

Code

public function addSet($paragraph, $js = 'nojs') {
  $form = \Drupal::formBuilder()
    ->getForm('Drupal\\paragraphs_frontend_ui\\Form\\ParagraphsFrontendUIAddSet', $paragraph);
  return $form;
}