You are here

public static function FileTypeInterface::loadEnabled in File Entity (fieldable files) 8.2

Loads and returns all enabled file types.

Parameters

bool $status: (optional) If FALSE, this loads disabled rather than enabled types.

Return value

FileTypeInterface[] An array of entity objects indexed by their IDs.

1 method overrides FileTypeInterface::loadEnabled()
FileType::loadEnabled in src/Entity/FileType.php
Loads and returns all enabled file types.

File

src/FileTypeInterface.php, line 61

Class

FileTypeInterface
File type entity interface.

Namespace

Drupal\file_entity

Code

public static function loadEnabled($status = TRUE);