public static function File::getDefaultEntityOwner in Drupal 10
Same name and namespace in other branches
- 8 core/modules/file/src/Entity/File.php \Drupal\file\Entity\File::getDefaultEntityOwner()
- 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 267
Class
- File
- Defines the file entity class.
Namespace
Drupal\file\EntityCode
public static function getDefaultEntityOwner() {
return NULL;
}