Search for __get

  1. Search 7.x for __get
  2. Search 9.5.x for __get
  3. Search 8.9.x for __get
  4. Search 10.3.x for __get
  5. Search 11.x for __get
  6. Other projects
Title Object type File name Summary
File::getCreatedTime function core/modules/file/src/Entity/File.php Returns the file entity creation timestamp.
File::getDefaultEntityOwner function core/modules/file/src/Entity/File.php Default value callback for 'owner' base field.
File::getDownloadHeaders function core/modules/file/src/Entity/File.php Examines a file entity and returns content headers for download.
File::getFilename function core/modules/file/src/Entity/File.php Returns the name of the file.
File::getFileUri function core/modules/file/src/Entity/File.php Returns the URI of the file.
File::getIds function core/modules/file/src/Plugin/migrate/source/d6/File.php Defines the source fields uniquely identifying a source row.
File::getIds function core/modules/file/src/Plugin/migrate/source/d7/File.php Defines the source fields uniquely identifying a source row.
File::getInfo function core/lib/Drupal/Core/Render/Element/File.php
File::getMetadata function core/modules/media/src/Plugin/media/Source/File.php Gets the value for a metadata attribute for a given media item.
File::getMetadataAttributes function core/modules/media/src/Plugin/media/Source/File.php Gets a list of metadata attributes provided by this plugin.
File::getMimeType function core/modules/file/src/Entity/File.php Returns the MIME type of the file.
File::getSize function core/modules/file/src/Entity/File.php Returns the size of the file.
File::getThumbnail function core/modules/media/src/Plugin/media/Source/File.php Gets the thumbnail image URI based on a file entity.
FileAccessControlHandler::getFileReferences function core/modules/file/src/FileAccessControlHandler.php Wrapper for file_get_file_references().
FileAudioFormatter::getMediaType function core/modules/file/src/Plugin/Field/FieldFormatter/FileAudioFormatter.php Gets the applicable media type for a formatter.
FileCache::get function core/lib/Drupal/Component/FileCache/FileCache.php
FileCache::getMultiple function core/lib/Drupal/Component/FileCache/FileCache.php
FileCacheFactory::get function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Instantiates a FileCache object for a given collection identifier.
FileCacheFactory::getConfiguration function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Gets the configuration used for constructing future file cache objects.
FileCacheFactory::getPrefix function core/lib/Drupal/Component/FileCache/FileCacheFactory.php Returns the cache prefix.
FileCacheFactoryTest::testGet function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php Tests get.
FileCacheFactoryTest::testGetConfigurationOverrides function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php Tests get configuration overrides.
FileCacheFactoryTest::testGetDisabledFileCache function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php Tests get disabled file cache.
FileCacheFactoryTest::testGetNoPrefix function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php Tests get no prefix.
FileCacheFactoryTest::testGetSetConfiguration function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
FileCacheFactoryTest::testGetSetPrefix function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php
FileCacheInterface::get function core/lib/Drupal/Component/FileCache/FileCacheInterface.php Gets data based on a filename.
FileCacheInterface::getMultiple function core/lib/Drupal/Component/FileCache/FileCacheInterface.php Gets data based on filenames.
FileCacheTest::testGet function core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php
FileCacheTest::testGetMultiple function core/tests/Drupal/Tests/Component/FileCache/FileCacheTest.php Tests get multiple.
FileCopy::getDirectory function core/modules/migrate/src/Plugin/migrate/process/FileCopy.php Returns the directory component of a URI or path.
FileDeleteGadgetChainTest class core/tests/Drupal/KernelTests/Core/File/FileDeleteGadgetChainTest.php Tests protection against SA-CORE-2024-006 File Delete Gadget Chain.
FileDeleteGadgetChainTest.php file core/tests/Drupal/KernelTests/Core/File/FileDeleteGadgetChainTest.php
FileDeleteGadgetChainTest::testFileDeleteGadgetChain function core/tests/Drupal/KernelTests/Core/File/FileDeleteGadgetChainTest.php Tests unserializing a File Delete payload.
FileEncodingConstraintValidatorTest::getInvalidEncodedPoFile function core/modules/file/tests/src/Kernel/Plugin/Validation/Constraint/FileEncodingConstraintValidatorTest.php Helper function that returns a .po file with invalid encoding.
FileEventSubscriber::getSubscribedEvents function core/modules/file/src/EventSubscriber/FileEventSubscriber.php
FileField::getFieldFormatterMap function core/modules/file/src/Plugin/migrate/field/d6/FileField.php Get a map between D6 formatters and D8 formatters for this field type.
FileField::getFieldType function core/modules/file/src/Plugin/migrate/field/d6/FileField.php Computes the destination type of a migrated field.
FileField::getFieldWidgetMap function core/modules/file/src/Plugin/migrate/field/d6/FileField.php Get a map between D6 and D8 widgets for this field type.
FileField::getFieldWidgetMap function core/modules/file/src/Plugin/migrate/field/d7/FileField.php Get a map between D6 and D8 widgets for this field type.
FileFieldTest::getFieldTypeProvider function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php Data provider for testGetFieldType().
FileFieldTest::getFieldTypeProvider function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php Data provider for testGetFieldType().
FileFieldTest::testGetFieldType function core/modules/file/tests/src/Unit/Plugin/migrate/field/d6/FileFieldTest.php Tests get field type.
FileFieldTest::testGetFieldType function core/modules/file/tests/src/Unit/Plugin/migrate/field/d7/FileFieldTest.php Tests get field type.
FileFieldTestBase::getLastFileId function core/modules/file/tests/src/Functional/FileFieldTestBase.php Retrieves the fid of the last inserted file.
FileFieldTestBase::getTestFile function core/modules/file/tests/src/Functional/FileFieldTestBase.php Retrieves a sample file of the specified type.
FileFieldWidgetAdminThemeTest class core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetAdminThemeTest.php Tests the widget visibility settings for the Admin theme.
FileFieldWidgetAdminThemeTest.php file core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetAdminThemeTest.php
FileFieldWidgetAdminThemeTest::$defaultTheme property core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetAdminThemeTest.php
FileFieldWidgetAdminThemeTest::testWidgetDefaultVisibilitySettings function core/modules/file/tests/src/FunctionalJavascript/FileFieldWidgetAdminThemeTest.php Tests that the field widget visibility settings are respected on the form.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.