18 calls to ByteSizeMarkup::create()
- ByteSizeMarkupTest::testCommonFormatSize in core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ ByteSizeMarkupTest.php - @covers ::create @dataProvider providerTestCommonFormatSize
- ByteSizeMarkupTest::testTranslatableMarkupObject in core/
tests/ Drupal/ Tests/ Core/ StringTranslation/ ByteSizeMarkupTest.php - @covers ::create
- editor_image_upload_settings_form in core/
modules/ editor/ editor.admin.inc - Subform constructor to configure the text editor's image upload settings.
- FileFieldValidateTest::testFileMaxSize in core/
modules/ file/ tests/ src/ Functional/ FileFieldValidateTest.php - Tests the max file size validator.
- FileItem::fieldSettingsForm in core/
modules/ file/ src/ Plugin/ Field/ FieldType/ FileItem.php - FileSize::render in core/
modules/ views/ src/ Plugin/ views/ field/ FileSize.php - Renders the field.
- FileSize::viewElements in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ FileSize.php - Builds a renderable array for a field value.
- FileSizeLimitConstraintValidator::validate in core/
modules/ file/ src/ Plugin/ Validation/ Constraint/ FileSizeLimitConstraintValidator.php - FileTokenReplaceTest::testFileTokenReplacement in core/
modules/ file/ tests/ src/ Functional/ FileTokenReplaceTest.php - Creates a file, then tests the tokens generated from it.
- FileWidgetAjaxController::progress in core/
modules/ file/ src/ Controller/ FileWidgetAjaxController.php - Returns the progress status for a file upload process.
- file_tokens in core/
modules/ file/ file.module - Implements hook_tokens().
- FormAjaxSubscriber::onException in core/
lib/ Drupal/ Core/ Form/ EventSubscriber/ FormAjaxSubscriber.php - Catches a form AJAX exception and build a response from it.
- MigrateExecutable::memoryExceeded in core/
modules/ migrate/ src/ MigrateExecutable.php - Tests whether we've exceeded the desired memory threshold.
- system_requirements in core/
modules/ system/ system.install - Implements hook_requirements().
- TableFormatter::viewElements in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ TableFormatter.php - Builds a renderable array for a field value.
- template_preprocess_file_link in core/
modules/ file/ file.module - Prepares variables for file link templates.
- template_preprocess_file_upload_help in core/
modules/ file/ file.module - Prepares variables for file upload help text templates.
- umami_preprocess_image_widget in core/
profiles/ demo_umami/ themes/ umami/ umami.theme - Implements hook_preprocess_image_widget().
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.