Search for add

  1. Search 7.x for add
  2. Search 9.5.x for add
  3. Search 10.3.x for add
  4. Search 11.x for add
  5. Other projects
Title Object type File name Summary
AjaxCssTest::testCkeditorAjaxAddCss function core/modules/ckeditor/tests/src/FunctionalJavascript/AjaxCssTest.php Tests adding style sheets dynamically to CKEditor.
AjaxResponse::addCommand function core/lib/Drupal/Core/Ajax/AjaxResponse.php Add an AJAX command to the response.
ajax_forms_test_advanced_commands_add_css_callback function core/modules/system/tests/modules/ajax_forms_test/ajax_forms_test.module Ajax callback for 'add_css'.
AliasRepository::addLanguageFallback function core/lib/Drupal/Core/Path/AliasRepository.php Adds path alias language fallback conditions to a select query object.
AliasStorage::addLanguageFallback function core/lib/Drupal/Core/Path/AliasStorage.php Adds path alias language fallback conditions to a select query object.
AlterableInterface::addMetaData function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Adds additional metadata to the query.
AlterableInterface::addTag function core/lib/Drupal/Core/Database/Query/AlterableInterface.php Adds a tag to a query.
ArchiverInterface::add function core/lib/Drupal/Core/Archiver/ArchiverInterface.php Adds the specified file or directory to the archive.
AttachedAssetsTest::testAddExternalFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding external CSS and JavaScript files.
AttachedAssetsTest::testAddFiles function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding a CSS and a JavaScript file.
AttachedAssetsTest::testAddJsFileWithQueryString function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests JavaScript files that have querystrings attached get added right.
AttachedAssetsTest::testAddJsSettings function core/tests/Drupal/KernelTests/Core/Asset/AttachedAssetsTest.php Tests adding JavaScript settings.
AttachmentsInterface::addAttachments function core/lib/Drupal/Core/Render/AttachmentsInterface.php Adds attachments.
AttachmentsTrait::addAttachments function core/lib/Drupal/Core/Render/AttachmentsTrait.php
Attribute::addClass function core/lib/Drupal/Core/Template/Attribute.php Adds classes or merges them on to array of existing CSS classes.
AttributeTest::testAdd function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding new values to an existing part of the attribute.
AttributeTest::testAddClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests adding class attributes with the AttributeArray helper method.
@covers ::addClass
AttributeTest::testChainAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests removing class attributes with the Attribute helper methods.
@covers ::removeClass
@covers ::addClass
AttributeTest::testTwigAddRemoveClasses function core/tests/Drupal/Tests/Core/Template/AttributeTest.php Tests the twig calls to the Attribute.
@dataProvider providerTestAttributeClassHelpers
AuditResult::addReason function core/modules/migrate/src/Audit/AuditResult.php Adds a reason why the migration passed or failed the audit.
AuthenticationCollector::addProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollector.php Adds a provider to the array of registered providers.
AuthenticationCollectorInterface::addProvider function core/lib/Drupal/Core/Authentication/AuthenticationCollectorInterface.php Adds a provider to the array of registered providers.
BaseFieldDefinition::addPropertyConstraints function core/lib/Drupal/Core/Field/BaseFieldDefinition.php Adds constraints for a given field item property.
BatchBuilder::addOperation function core/lib/Drupal/Core/Batch/BatchBuilder.php Adds a batch operation.
BatchBuilderTest::testAddingLibraries function core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php Tests setting and adding libraries.
BatchBuilderTest::testAddOperation function core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php Tests addOperation().
block-content-add-list.html.twig file core/modules/block_content/templates/block-content-add-list.html.twig Default theme implementation to present a list of custom block types.
block-content-add-list.html.twig file core/themes/seven/templates/block-content-add-list.html.twig Seven's theme implementation to display a list of custom block types.
block-content-add-list.html.twig file core/themes/claro/templates/block-content-add-list.html.twig Claro's theme implementation to display a list of custom block types.
block-content-add-list.html.twig file core/themes/stable/templates/admin/block-content-add-list.html.twig Theme override to present a list of custom block types.
BlockAddController class core/modules/block/src/Controller/BlockAddController.php Controller for building the block instance add form.
BlockAddController.php file core/modules/block/src/Controller/BlockAddController.php
BlockAddController::blockAddConfigureForm function core/modules/block/src/Controller/BlockAddController.php Build the block instance add form.
BlockContentAddLocalAction class core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Modifies the 'Add custom block' local action.
BlockContentAddLocalAction.php file core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php
BlockContentAddLocalAction::getOptions function core/modules/block_content/src/Plugin/Menu/LocalAction/BlockContentAddLocalAction.php Returns options for rendering a link for the local action.
BlockContentCacheTagsTest::getAdditionalCacheTagsForEntity function core/modules/block_content/tests/src/Functional/BlockContentCacheTagsTest.php Each comment must have a comment body, which always has a text format.
BlockContentController::add function core/modules/block_content/src/Controller/BlockContentController.php Displays add custom block links for available types.
BlockContentController::addForm function core/modules/block_content/src/Controller/BlockContentController.php Presents the custom block creation form.
BlockContentController::getAddFormTitle function core/modules/block_content/src/Controller/BlockContentController.php Provides the page title for this controller.
BlockContentReusableUpdateTest::testReusableFieldAddition function core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php Tests adding 'reusable' entity base field to the block content entity type.
BlockContentReusableUpdateTest::testReusableFieldAdditionWithoutViews function core/modules/block_content/tests/src/Functional/Update/BlockContentReusableUpdateTest.php Tests that the update succeeds even if Views is not installed.
BlockContentTypeTest::testsBlockContentAddTypes function core/modules/block_content/tests/src/Functional/BlockContentTypeTest.php Tests that redirects work as expected when multiple block types exist.
BlockContentUpdateTest::testStatusFieldAddition function core/modules/block_content/tests/src/Functional/Update/BlockContentUpdateTest.php Tests adding a status field to the block content entity type.
BlockContentWizardTest::testViewAddBlockContent function core/modules/block_content/tests/src/Functional/Views/BlockContentWizardTest.php Tests creating a 'block_content' entity view.
BlockTest::testAddBlockFromLibraryWithWeight function core/modules/block/tests/src/Functional/BlockTest.php Tests adding a block from the library page with a weight query string.
block_content.add.html.twig file core/modules/help_topics/help_topics/block_content.add.html.twig ---
label: 'Creating a custom block'
related:
- block.overview
- block.configure
- block.place
- block_content.type
---
{% set content_url = render_var(url('entity.block_content.collection')) %}
<h2>{% trans %}Goal{%…
block_content_add_body_field function core/modules/block_content/block_content.module Adds the default body field to a custom block type.
block_content_post_update_add_views_reusable_filter function core/modules/block_content/block_content.post_update.php Adds a 'reusable' filter to all Custom Block views.
book.adding.html.twig file core/modules/help_topics/help_topics/book.adding.html.twig ---
label: 'Adding content to a book'
related:
- book.about
- book.configuring
- book.creating
- book.organizing
---
{% set node_add = render_var(url('node.add_page')) %}
{% set config =…

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