You are here

public static function File::getDefaultEntityOwner in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/file/src/Entity/File.php \Drupal\file\Entity\File::getDefaultEntityOwner()

Default value callback for 'owner' base field.

Return value

mixed A default value for the owner field.

Overrides EntityOwnerTrait::getDefaultEntityOwner

File

core/modules/file/src/Entity/File.php, line 279

Class

File
Defines the file entity class.

Namespace

Drupal\file\Entity

Code

public static function getDefaultEntityOwner() {
  return NULL;
}