You are here

public static function File::getDefaultEntityOwner in Drupal 9

Same name and namespace in other branches
  1. 8 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 275

Class

File
Defines the file entity class.

Namespace

Drupal\file\Entity

Code

public static function getDefaultEntityOwner() {
  return NULL;
}