107 string references to 'callback' in Drupal 10
- Action::fields in core/
modules/ system/ src/ Plugin/ migrate/ source/ Action.php - Returns available fields on the source.
- ActionAjaxTest::buildConfigurationForm in core/
modules/ action/ tests/ action_form_ajax_test/ src/ Plugin/ Action/ ActionAjaxTest.php - Form constructor.
- ActionTest::providerSource in core/
modules/ system/ tests/ src/ Kernel/ Plugin/ migrate/ source/ ActionTest.php - The data provider.
- AddFormBase::buildActions in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Returns an array of supported actions for the form.
- AddFormBase::buildEntityFormElement in core/
modules/ media_library/ src/ Form/ AddFormBase.php - Builds the sub-form for setting required fields on a new media item.
- AjaxCssForm::buildForm in core/
modules/ ckeditor/ tests/ modules/ src/ Form/ AjaxCssForm.php - Form constructor.
- AjaxFormBlock::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - Form constructor.
- AjaxFormsTestAjaxElementsForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestAjaxElementsForm.php - Form constructor.
- AjaxFormsTestCommandsForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestCommandsForm.php - .
- AjaxFormsTestImageButtonForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestImageButtonForm.php - Form constructor.
- AjaxFormsTestLazyLoadForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestLazyLoadForm.php - Form constructor.
- AjaxFormsTestSimpleForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestSimpleForm.php - Form constructor.
- AjaxFormsTestValidationForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Form/ AjaxFormsTestValidationForm.php - Form constructor.
- AjaxTestDialogForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Form/ AjaxTestDialogForm.php - Form constructor.
- AjaxTestFocusFirstForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Form/ AjaxTestFocusFirstForm.php - Form constructor.
- AjaxTestForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Form/ AjaxTestForm.php - Form constructor.
- AjaxTestFormPromise::buildForm in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Form/ AjaxTestFormPromise.php - Form for testing the addition of various types of elements via Ajax.
- AjaxTestImageEffect::buildConfigurationForm in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ ImageEffect/ AjaxTestImageEffect.php - Form constructor.
- AjaxTestMessageCommandForm::buildForm in core/
modules/ system/ tests/ modules/ ajax_test/ src/ Form/ AjaxTestMessageCommandForm.php - Form constructor.
- AllowedValuesConstraintValidatorTest::testValidationCallback in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ AllowedValuesConstraintValidatorTest.php - Tests the AllowedValuesConstraintValidator with callbacks.
- AllowedValuesConstraintValidatorTest::testValidationCallbackException in core/
tests/ Drupal/ KernelTests/ Core/ TypedData/ AllowedValuesConstraintValidatorTest.php - Tests the AllowedValuesConstraintValidator with an invalid callback.
- BigPipeStrategy::generateBigPipePlaceholderId in core/
modules/ big_pipe/ src/ Render/ Placeholder/ BigPipeStrategy.php - Generates a BigPipe placeholder ID.
- BlockEntitySettingTrayForm::buildForm in core/
modules/ settings_tray/ src/ Block/ BlockEntitySettingTrayForm.php - Form constructor.
- BlockForm::form in core/
modules/ block/ src/ BlockForm.php - Gets the actual form array to be built.
- BookManager::addFormElements in core/
modules/ book/ src/ BookManager.php - BubbleableMetadataTest::providerTestMerge in core/
tests/ Drupal/ Tests/ Core/ Render/ BubbleableMetadataTest.php - Provides test data for testMerge().
- ckeditor5_form_filter_format_form_alter in core/
modules/ ckeditor5/ ckeditor5.module - Implements hook_form_FORM_ID_alter().
- ConfigSingleExportForm::buildForm in core/
modules/ config/ src/ Form/ ConfigSingleExportForm.php - Form constructor.
- ConfigTestForm::form in core/
modules/ config/ tests/ config_test/ src/ ConfigTestForm.php - ConfigureBlockFormBase::doBuildForm in core/
modules/ layout_builder/ src/ Form/ ConfigureBlockFormBase.php - Builds the form for the block.
- ConfigureSectionForm::buildForm in core/
modules/ layout_builder/ src/ Form/ ConfigureSectionForm.php - Form constructor.
- ContentModerationConfigureEntityTypesForm::buildForm in core/
modules/ content_moderation/ src/ Form/ ContentModerationConfigureEntityTypesForm.php - Form constructor.
- CssCollectionOptimizer::deleteAll in core/
lib/ Drupal/ Core/ Asset/ CssCollectionOptimizer.php - d6_action.yml in core/
modules/ system/ migrations/ d6_action.yml - core/modules/system/migrations/d6_action.yml
- d6_custom_block_translation.yml in core/
modules/ content_translation/ migrations/ d6_custom_block_translation.yml - core/modules/content_translation/migrations/d6_custom_block_translation.yml
- d6_menu_links.yml in core/
modules/ menu_link_content/ migrations/ d6_menu_links.yml - core/modules/menu_link_content/migrations/d6_menu_links.yml
- d6_menu_links_translation.yml in core/
modules/ content_translation/ migrations/ d6_menu_links_translation.yml - core/modules/content_translation/migrations/d6_menu_links_translation.yml
- d6_taxonomy_term_localized_translation.yml in core/
modules/ content_translation/ migrations/ d6_taxonomy_term_localized_translation.yml - core/modules/content_translation/migrations/d6_taxonomy_term_localized_translation.yml
- d7_action.yml in core/
modules/ system/ migrations/ d7_action.yml - core/modules/system/migrations/d7_action.yml
- d7_custom_block_translation.yml in core/
modules/ content_translation/ migrations/ d7_custom_block_translation.yml - core/modules/content_translation/migrations/d7_custom_block_translation.yml
- d7_menu_links_translation.yml in core/
modules/ content_translation/ migrations/ d7_menu_links_translation.yml - core/modules/content_translation/migrations/d7_menu_links_translation.yml
- d7_rdf_mapping.yml in core/
modules/ rdf/ migrations/ d7_rdf_mapping.yml - core/modules/rdf/migrations/d7_rdf_mapping.yml
- d7_taxonomy_term_localized_translation.yml in core/
modules/ content_translation/ migrations/ d7_taxonomy_term_localized_translation.yml - core/modules/content_translation/migrations/d7_taxonomy_term_localized_translation.yml
- default_language.yml in core/
modules/ language/ migrations/ default_language.yml - core/modules/language/migrations/default_language.yml
- DoTrustedCallbackTraitTest::errorTypeProvider in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - Data provider for tests of ::doTrustedCallback $error_type argument.
- DoTrustedCallbackTraitTest::providerTestTrustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - Data provider for ::testTrustedCallbacks().
- DoTrustedCallbackTraitTest::providerTestUntrustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - Data provider for ::testUntrustedCallbacks().
- drupal6.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal6.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ tracker/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ rdf/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal_register_shutdown_function in core/
includes/ bootstrap.inc - Registers a function for execution on shutdown.
- DummyAjaxWidget::formElement in core/
modules/ image/ tests/ modules/ image_module_test/ src/ Plugin/ Field/ FieldWidget/ DummyAjaxWidget.php - Returns the form for a single field widget.
- EditorImageDialog::buildForm in core/
modules/ editor/ src/ Form/ EditorImageDialog.php - EditorLinkDialog::buildForm in core/
modules/ editor/ src/ Form/ EditorLinkDialog.php - EditorMediaDialog::buildForm in core/
modules/ media/ src/ Form/ EditorMediaDialog.php - editor_form_filter_format_form_alter in core/
modules/ editor/ editor.module - Implements hook_form_BASE_FORM_ID_alter() for \Drupal\filter\FilterFormatEditForm.
- EntityDisplayFormBase::buildFieldRow in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Builds the table row structure for a single field.
- EntityDisplayFormBase::form in core/
modules/ field_ui/ src/ Form/ EntityDisplayFormBase.php - Gets the actual form array to be built.
- EntityReferenceItem::fieldSettingsAjaxProcessElement in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ EntityReferenceItem.php - Adds entity_reference specific properties to AJAX form elements from the field settings form.
- FieldLayoutEntityDisplayFormTrait::form in core/
modules/ field_layout/ src/ Form/ FieldLayoutEntityDisplayFormTrait.php - Overrides \Drupal\field_ui\Form\EntityDisplayFormBase::form().
- FileSystem::doScanDirectory in core/
lib/ Drupal/ Core/ File/ FileSystem.php - Internal function to handle directory scanning with recursion.
- FileSystem::scanDirectory in core/
lib/ Drupal/ Core/ File/ FileSystem.php - FileTransferAuthorizeForm::runOperation in core/
lib/ Drupal/ Core/ FileTransfer/ Form/ FileTransferAuthorizeForm.php - Runs the operation specified in 'authorize_operation' session property.
- FileUploadForm::processUploadElement in core/
modules/ media_library/ src/ Form/ FileUploadForm.php - Processes an upload (managed_file) element.
- FormAjaxResponseBuilder::buildResponse in core/
lib/ Drupal/ Core/ Form/ FormAjaxResponseBuilder.php - FormAjaxResponseBuilderTest::testBuildResponseRenderArray in core/
tests/ Drupal/ Tests/ Core/ Form/ FormAjaxResponseBuilderTest.php - @covers ::buildResponse
- FormAjaxResponseBuilderTest::testBuildResponseResponse in core/
tests/ Drupal/ Tests/ Core/ Form/ FormAjaxResponseBuilderTest.php - @covers ::buildResponse
- FormAjaxResponseBuilderTest::testBuildResponseWithCommands in core/
tests/ Drupal/ Tests/ Core/ Form/ FormAjaxResponseBuilderTest.php - @covers ::buildResponse
- FormAjaxResponseBuilderTest::testBuildResponseWithUpdateCommand in core/
tests/ Drupal/ Tests/ Core/ Form/ FormAjaxResponseBuilderTest.php - @covers ::buildResponse
- FormTestMachineNameValidationForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestMachineNameValidationForm.php - Form constructor.
- FormTestTableSelectFormBase::tableselectFormBuilder in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestTableSelectFormBase.php - Build a form to test the tableselect element.
- HandleMultiplesTest::getDefinition in core/
modules/ migrate/ tests/ src/ Kernel/ process/ HandleMultiplesTest.php - Provides the test migration definition.
- JsCollectionOptimizer::deleteAll in core/
lib/ Drupal/ Core/ Asset/ JsCollectionOptimizer.php - JsWebAssertTestForm::buildForm in core/
modules/ system/ tests/ modules/ js_webassert_test/ src/ Form/ JsWebAssertTestForm.php - Form for testing the addition of various types of elements via AJAX.
- KernelTestBase::assertPostConditions in core/
tests/ Drupal/ KernelTests/ KernelTestBase.php - LanguageItem::generateSampleValue in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldType/ LanguageItem.php - Generates placeholder field values.
- LayoutRebuildConfirmFormBase::buildForm in core/
modules/ layout_builder/ src/ Form/ LayoutRebuildConfirmFormBase.php - Form constructor.
- ManagedFile::processManagedFile in core/
modules/ file/ src/ Element/ ManagedFile.php - Render API callback: Expands the managed_file element type.
- MediaLibrarySelectForm::viewsForm in core/
modules/ media_library/ src/ Plugin/ views/ field/ MediaLibrarySelectForm.php - Form constructor for the media library select form.
- MediaLibraryWidget::formElement in core/
modules/ media_library/ src/ Plugin/ Field/ FieldWidget/ MediaLibraryWidget.php - Returns the form for a single field widget.
- MediaTypeForm::form in core/
modules/ media/ src/ MediaTypeForm.php - Gets the actual form array to be built.
- MoveBlockForm::buildForm in core/
modules/ layout_builder/ src/ Form/ MoveBlockForm.php - Builds the move block form.
- OEmbedForm::buildInputElement in core/
modules/ media_library/ src/ Form/ OEmbedForm.php - PlaceholdersTest::trustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererTestBase.php - Lists the trusted callbacks provided by the implementing class.
- RdfMappingTest::providerSource in core/
modules/ rdf/ tests/ src/ Kernel/ Plugin/ migrate/ source/ d7/ RdfMappingTest.php - The data provider.
- RecursiveContextualValidatorTest::setupTypedData in core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - Setups a typed data object used for test purposes.
- RecursiveContextualValidatorTest::testBasicValidateWithConstraint in core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - @covers ::validate
- RecursiveContextualValidatorTest::testBasicValidateWithMultipleConstraints in core/
tests/ Drupal/ Tests/ Core/ TypedData/ RecursiveContextualValidatorTest.php - @covers ::validate
- RecursivePlaceholdersTest::trustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Render/ RendererPlaceholdersTest.php - Lists the trusted callbacks provided by the implementing class.
- RenderElement::preRenderAjaxForm in core/
lib/ Drupal/ Core/ Render/ Element/ RenderElement.php - Adds Ajax information about an element to communicate with JavaScript.
- RenderElementTest::testPreRenderAjaxForm in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- RenderElementTest::testPreRenderAjaxFormWithQueryOptions in core/
tests/ Drupal/ Tests/ Core/ Render/ Element/ RenderElementTest.php - @covers ::preRenderAjaxForm
- ResponsiveImageStyleForm::form in core/
modules/ responsive_image/ src/ ResponsiveImageStyleForm.php - Overrides Drupal\Core\Entity\EntityForm::form().
- ScanDirectoryTest::testOptionCallback in core/
tests/ Drupal/ KernelTests/ Core/ File/ ScanDirectoryTest.php - Check that the callback function is called correctly.
- system_authorized_init in core/
modules/ system/ system.module - Setup a given callback to run via authorize.php with elevated privileges.
- system_maintenance.yml in core/
modules/ system/ migrations/ system_maintenance.yml - core/modules/system/migrations/system_maintenance.yml
- TestAjaxBlock::blockForm in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ Block/ TestAjaxBlock.php - Token::doReplace in core/
lib/ Drupal/ Core/ Utility/ Token.php - Replaces all tokens in a given string with appropriate values.
- TrustedMethods::trustedCallbacks in core/
tests/ Drupal/ Tests/ Core/ Security/ DoTrustedCallbackTraitTest.php - Lists the trusted callbacks provided by the implementing class.
- update_clear_update_disk_cache in core/
modules/ update/ update.module - Clears the temporary files and directories based on file age from disk.
- User::baseFieldDefinitions in core/
modules/ user/ src/ Entity/ User.php - UserTokenReplaceTest::testUserTokenReplacement in core/
modules/ user/ tests/ src/ Functional/ UserTokenReplaceTest.php - Creates a user, then tests the tokens generated from it.
- user_mail in core/
modules/ user/ user.module - Implements hook_mail().
- views_ui_add_ajax_trigger in core/
modules/ views_ui/ admin.inc - Converts a form element in the add view wizard to be AJAX-enabled.
- WidgetBase::formMultipleElements in core/
lib/ Drupal/ Core/ Field/ WidgetBase.php - Special handling to create form elements for multiple values.
- _drupal_shutdown_function in core/
includes/ bootstrap.inc - Executes registered shutdown functions.