public File::setPermanent() Sets the file
public File::getOwnerId() Returns the entity
Defines the file entity class. Plugin annotation @ContentEntityType(
public File::setOwner(UserInterface $account) Sets
public File::getOwner() Returns the entity
public static File::baseFieldDefinitions(EntityTypeInterface $entity_type)
public File::setSize($size) Sets the size
public File::setTemporary() Sets the file
public File::preSave(EntityStorageInterface $storage)
public File::isPermanent() Returns TRUE
Page 1 of 3