Functions - 10.3.x - drupal
Title | Deprecated | File name | Summary | Direct uses | Strings |
---|---|---|---|---|---|
file_post_update_add_permissions_to_roles | core/ |
Grant all non-anonymous roles the 'delete own files' permission. | |||
file_progress_implementation | in drupal:10.3.0 and is removed from drupal:11.0.0. Use extension_loaded('uploadprogress') instead. |
core/ |
Determines the preferred upload progress implementation. | 1 | |
file_removed_post_updates | core/ |
Implements hook_removed_post_updates(). | |||
file_requirements | core/ |
Implements hook_requirements(). | 1 | ||
file_save_upload | core/ |
Saves file uploads to a new location. | 4 | ||
file_schema | core/ |
Implements hook_schema(). | |||
file_system_settings_submit | core/ |
Form submission handler for file system settings form. | 1 | ||
file_test_entity_type_alter | core/ |
Implements hook_entity_info_alter(). | |||
file_test_file_copy | core/ |
Implements hook_file_copy(). | |||
file_test_file_download | core/ |
Implements hook_file_download(). | |||
file_test_file_insert | core/ |
Implements hook_ENTITY_TYPE_insert() for file entities. | |||
file_test_file_load | core/ |
Implements hook_ENTITY_TYPE_load() for file entities. | |||
file_test_file_mimetype_mapping_alter | core/ |
Implements hook_file_mimetype_mapping_alter(). | |||
file_test_file_move | core/ |
Implements hook_file_move(). | |||
file_test_file_predelete | core/ |
Implements hook_ENTITY_TYPE_predelete() for file entities. | |||
file_test_file_scan_callback | core/ |
Helper function for testing FileSystemInterface::scanDirectory(). | 2 | 1 | |
file_test_file_scan_callback_reset | core/ |
Reset static variables used by file_test_file_scan_callback(). | 1 | ||
file_test_file_update | core/ |
Implements hook_ENTITY_TYPE_update() for file entities. | |||
file_test_file_url_alter | core/ |
Implements hook_file_url_alter(). | |||
file_test_get_all_calls | core/ |
Get an array with the calls for all hooks. | 2 | ||
file_test_get_calls | core/ |
Gets the arguments passed to a given hook invocation. | 3 | ||
file_test_reset | core/ |
Reset/initialize the history of calls to the file_* hooks. | 23 | ||
file_test_set_return | core/ |
Assign a return value for a given operation. | 3 | ||
file_test_validator | core/ |
Helper validator that returns the $errors parameter. | |||
file_theme | core/ |
Implements hook_theme(). | |||
file_tokens | core/ |
Implements hook_tokens(). | |||
file_token_info | core/ |
Implements hook_token_info(). | |||
file_update_last_removed | core/ |
Implements hook_update_last_removed(). | |||
file_validate | in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. |
core/ |
Checks that a file meets the criteria specified by the validators. | 2 | 1 |
file_validate_extensions | in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. |
core/ |
Checks that the filename ends with an allowed extension. | 2 | |
file_validate_image_resolution | in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. |
core/ |
Verifies that image dimensions are within the specified maximum and minimum. | 1 | |
file_validate_is_image | in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. |
core/ |
Checks that the file is recognized as a valid image. | 1 | |
file_validate_name_length | in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. |
core/ |
Checks for files with names longer than can be stored in the database. | 1 | |
file_validate_size | in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. |
core/ |
Checks that the file's size is below certain limits. | 1 | |
filter_default_format | core/ |
Returns the ID of the default text format for a particular user. | 23 | 1 | |
filter_fallback_format | core/ |
Returns the ID of the fallback text format that all users have access to. | 7 | 1 | |
filter_filter_secure_image_alter | core/ |
Implements hook_filter_secure_image_alter(). | |||
filter_formats | core/ |
Retrieves a list of enabled text formats, ordered by weight. | 15 | 6 | |
filter_formats_reset | core/ |
Resets the text format caches. | 7 | ||
filter_get_formats_by_role | core/ |
Retrieves a list of text formats that are allowed for a given role. | 1 | ||
filter_get_roles_by_format | core/ |
Retrieves a list of roles that are allowed to use a given text format. | 7 | ||
filter_help | core/ |
Implements hook_help(). | |||
filter_post_update_consolidate_filter_config | core/ |
Change filter_settings to type mapping. | |||
filter_post_update_sort_filters | core/ |
Sorts filter format filter configuration. | |||
filter_test_filter_format_disable | core/ |
Implements hook_filter_format_disable(). | |||
filter_test_filter_format_insert | core/ |
Implements hook_ENTITY_TYPE_insert(). | |||
filter_test_filter_format_update | core/ |
Implements hook_ENTITY_TYPE_update(). | |||
filter_theme | core/ |
Implements hook_theme(). | |||
format_size | in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\StringTranslation\ByteSizeMarkup::create($size, $langcode) instead. |
core/ |
Generates a string representation for the given byte count. | 3 | |
form_get_options | core/ |
Returns the indexes of a select element's options matching a given key. |
Pagination
- Previous page
- Page 16
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.