Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
AddCssCommand.php file core/lib/Drupal/Core/Ajax/AddCssCommand.php
AddCssCommand::$styles property core/lib/Drupal/Core/Ajax/AddCssCommand.php A string that contains the styles to be added to the page.
AddCssCommand::render function core/lib/Drupal/Core/Ajax/AddCssCommand.php Implements Drupal\Core\Ajax\CommandInterface:render().
AddCssCommand::__construct function core/lib/Drupal/Core/Ajax/AddCssCommand.php Constructs an AddCssCommand.
AddFeedTest class core/modules/aggregator/tests/src/Functional/AddFeedTest.php Add feed test.
AddFeedTest class core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Make sure that attaching feeds works correctly with various constructs.
AddFeedTest.php file core/modules/system/tests/src/Kernel/Common/AddFeedTest.php
AddFeedTest.php file core/modules/aggregator/tests/src/Functional/AddFeedTest.php
AddFeedTest::$defaultTheme property core/modules/aggregator/tests/src/Functional/AddFeedTest.php The theme to install as the default for testing.
AddFeedTest::$modules property core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Modules to enable.
AddFeedTest::setUp function core/modules/aggregator/tests/src/Functional/AddFeedTest.php
AddFeedTest::testAddFeed function core/modules/aggregator/tests/src/Functional/AddFeedTest.php Creates and ensures that a feed is unique, checks source, and deletes feed.
AddFeedTest::testAddLongFeed function core/modules/aggregator/tests/src/Functional/AddFeedTest.php Tests feeds with very long URLs.
AddFeedTest::testBasicFeedAddNoTitle function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Tests attaching feeds with paths, URLs, and titles.
AddFeedTest::testFeedIconEscaping function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Checks that special characters are correctly escaped.
AddFeedTest::testFeedLabelEscaping function core/modules/aggregator/tests/src/Functional/AddFeedTest.php Ensures that the feed label is escaping when rendering the feed icon.
AddFeedTest::urlToRSSLinkPattern function core/modules/system/tests/src/Kernel/Common/AddFeedTest.php Creates a pattern representing the RSS feed in the page.
AddFormBase class core/modules/media_library/src/Form/AddFormBase.php Provides a base class for creating media items from within the media library.
AddFormBase.php file core/modules/media_library/src/Form/AddFormBase.php
AddFormBase::$entityTypeManager property core/modules/media_library/src/Form/AddFormBase.php The entity type manager.
AddFormBase::$libraryUiBuilder property core/modules/media_library/src/Form/AddFormBase.php The media library UI builder.
AddFormBase::$mediaType property core/modules/media_library/src/Form/AddFormBase.php The type of media items being created by this form.
AddFormBase::$openerResolver property core/modules/media_library/src/Form/AddFormBase.php The opener resolver.
AddFormBase::$viewBuilder property core/modules/media_library/src/Form/AddFormBase.php The media view builder.
AddFormBase::buildActions function core/modules/media_library/src/Form/AddFormBase.php Returns an array of supported actions for the form.
AddFormBase::buildCurrentSelectionArea function core/modules/media_library/src/Form/AddFormBase.php Returns a render array containing the current selection.
AddFormBase::buildEntityFormElement function core/modules/media_library/src/Form/AddFormBase.php Builds the sub-form for setting required fields on a new media item.
AddFormBase::buildForm function core/modules/media_library/src/Form/AddFormBase.php Form constructor.
AddFormBase::buildInputElement function core/modules/media_library/src/Form/AddFormBase.php Builds the element for submitting source field value(s).
AddFormBase::buildMediaLibraryUi function core/modules/media_library/src/Form/AddFormBase.php Build the render array of the media library UI.
AddFormBase::buildSelectedItemElement function core/modules/media_library/src/Form/AddFormBase.php Returns a render array for a single pre-selected media item.
AddFormBase::create function core/modules/media_library/src/Form/AddFormBase.php Instantiates a new instance of this class.
AddFormBase::createMediaFromValue function core/modules/media_library/src/Form/AddFormBase.php Creates a new, unsaved media item from a source field value.
AddFormBase::getAddedMediaItems function core/modules/media_library/src/Form/AddFormBase.php Get all added media items from the form state.
AddFormBase::getBaseFormId function core/modules/media_library/src/Form/AddFormBase.php Returns a string identifying the base form.
AddFormBase::getCurrentMediaItems function core/modules/media_library/src/Form/AddFormBase.php Get all pre-selected and added media items from the form state.
AddFormBase::getMediaLibraryState function core/modules/media_library/src/Form/AddFormBase.php Get the media library state from the form state.
AddFormBase::getMediaType function core/modules/media_library/src/Form/AddFormBase.php Get the media type from the form state.
AddFormBase::getPreSelectedMediaItems function core/modules/media_library/src/Form/AddFormBase.php Get all pre-selected media items from the form state.
AddFormBase::getSourceFieldName function core/modules/media_library/src/Form/AddFormBase.php Returns the name of the source field for a media type.
AddFormBase::isAdvancedUi function core/modules/media_library/src/Form/AddFormBase.php Determines if the "advanced UI" of the Media Library is enabled.
AddFormBase::prepareMediaEntityForSave function core/modules/media_library/src/Form/AddFormBase.php Prepares a created media item to be permanently saved.
AddFormBase::preRenderAddedMedia function core/modules/media_library/src/Form/AddFormBase.php Converts the set of newly added media into an item list for rendering.
AddFormBase::processInputValues function core/modules/media_library/src/Form/AddFormBase.php Creates media items from source field input values.
AddFormBase::removeButtonSubmit function core/modules/media_library/src/Form/AddFormBase.php Submit handler for the remove button.
AddFormBase::submitForm function core/modules/media_library/src/Form/AddFormBase.php Form submission handler.
AddFormBase::trustedCallbacks function core/modules/media_library/src/Form/AddFormBase.php Lists the trusted callbacks provided by the implementing class.
AddFormBase::updateFormCallback function core/modules/media_library/src/Form/AddFormBase.php AJAX callback to update the entire form based on source field input.
AddFormBase::updateLibrary function core/modules/media_library/src/Form/AddFormBase.php AJAX callback to send the new media item(s) to the media library.
AddFormBase::updateWidget function core/modules/media_library/src/Form/AddFormBase.php AJAX callback to send the new media item(s) to the calling code.

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