You are here

public function FilebrowserFormController::save in Filebrowser 8

File

lib/Drupal/filebrowser/Entity/Form/FilebrowserFormController.php, line 48
Definition of Drupal\foo_bar\Entity\Form\FooBarFormController.

Class

FilebrowserFormController
Form controller for the filebrowser entity edit forms. Define the form for adding and editing entity content. It is called by the '_entity_form' definition in the routing.

Namespace

Drupal\filebrowser\Entity\Form

Code

public function save(array $form, array &$form_state) {
  $entity = $this->entity;
  $entity
    ->save();
}