You are here

public function SharebarController::add_button in ShareBar 8

1 string reference to 'SharebarController::add_button'
sharebar.routing.yml in ./sharebar.routing.yml
sharebar.routing.yml

File

src/Controller/SharebarController.php, line 36
Contains \Drupal\page_example\Controller\PageExampleController.

Class

SharebarController
Controller routines for sharebar routes.

Namespace

Drupal\sharebar\Controller

Code

public function add_button() {
  $form = \Drupal::formBuilder()
    ->getForm('Drupal\\sharebar\\Form\\SharebarAddButtonForm');
  return $form;
}