Search for slots

  1. Search 7.x for slots
  2. Search 9.5.x for slots
  3. Search 8.9.x for slots
  4. Search 10.3.x for slots
  5. Other projects
Title Object type File name Summary
ComponentMetadata::$slots property core/modules/sdc/src/Component/ComponentMetadata.php Slot information.
ComponentMetadata::$slots property core/lib/Drupal/Core/Theme/Component/ComponentMetadata.php Slot information.
ComponentNodeVisitor::validateSlots function core/modules/sdc/src/Twig/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
ComponentNodeVisitor::validateSlots function core/lib/Drupal/Core/Template/ComponentNodeVisitor.php Performs a cheap validation of the slots in the template.
ComponentRenderTest::checkSlots function core/modules/sdc/tests/src/Kernel/ComponentRenderTest.php Ensure that the slots allow a render array or a scalar when using the render element.
ComponentRenderTest::checkSlots function core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php Ensure that the slots allow a render array or a scalar when using the render element.
MediaLibraryState::getAvailableSlots function core/modules/media_library/src/MediaLibraryState.php Returns the number of additional media items that can be selected.
MediaLibraryState::hasSlotsAvailable function core/modules/media_library/src/MediaLibraryState.php Determines if additional media items can be selected.

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