public function FileManagementController::deleteFilePage in File Management 8
Provides the file edit page.
Parameters
\Drupal\file\FileInterface $file: The file entity to edit.
Return value
array The file edit form.
1 string reference to 'FileManagementController::deleteFilePage'
File
- src/
Controller/ FileManagementController.php, line 81
Class
- FileManagementController
- Provides the view, add pages and title callbacks for file entities.
Namespace
Drupal\file_management\ControllerCode
public function deleteFilePage(FileInterface $file = NULL) {
$build = [
'form' => $this
->formBuilder()
->getForm('Drupal\\file_management\\Form\\FileManagementDeleteFileConfirmForm', $file),
];
return $build;
}