You are here

protected property FileDeleteForm::$entity in File Delete (D8/D9) 8

Same name and namespace in other branches
  1. 2.1.x src/Form/FileDeleteForm.php \Drupal\file_delete\Form\FileDeleteForm::entity

The file being deleted.

Type: \Drupal\file\FileInterface

Overrides ContentEntityForm::$entity

File

src/Form/FileDeleteForm.php, line 24

Class

FileDeleteForm
Provides a form for deleting a File.

Namespace

Drupal\file_delete\Form

Code

protected $entity;