You are here

constant FILE_TYPE_NONE in File Entity (fieldable files) 8.2

Same name and namespace in other branches
  1. 7.3 file_entity.file_api.inc \FILE_TYPE_NONE
  2. 7.2 file_entity.file_api.inc \FILE_TYPE_NONE

The {file_managed}.type value when the file type has not yet been determined.

8 uses of FILE_TYPE_NONE
FileAddForm::submitForm in src/Form/FileAddForm.php
Form submission handler.
FileEditForm::prepareEntity in src/Form/FileEditForm.php
Prepares the entity object before the form is built first.
FileEntity::postCreate in src/Entity/FileEntity.php
Acts on a created entity before hooks are invoked.
FileEntity::preCreate in src/Entity/FileEntity.php
Changes the values of an entity before it is created.
FileEntity::preSave in src/Entity/FileEntity.php
Acts on an entity before the presave hook is invoked.

... See full list

File

./file_entity.module, line 23
Extends Drupal file entities to be fieldable and viewable.

Code

define('FILE_TYPE_NONE', 'undefined');