47 classes are annotated with Block
- ActiveTopicsBlock in core/
modules/ forum/ src/ Plugin/ Block/ ActiveTopicsBlock.php - Provides an 'Active forum topics' block.
- AggregatorFeedBlock in core/
modules/ aggregator/ src/ Plugin/ Block/ AggregatorFeedBlock.php - Provides an 'Aggregator feed' block with the latest items from the feed.
- AjaxFormBlock in core/
modules/ system/ tests/ modules/ ajax_forms_test/ src/ Plugin/ Block/ AjaxFormBlock.php - Provides an AJAX form block.
- AttachedRenderingBlock in core/
modules/ system/ tests/ modules/ render_attached_test/ src/ Plugin/ Block/ AttachedRenderingBlock.php - A block we can use to test caching of #attached headers.
- BlockContentBlock in core/
modules/ block_content/ src/ Plugin/ Block/ BlockContentBlock.php - Defines a generic custom block type.
- BookNavigationBlock in core/
modules/ book/ src/ Plugin/ Block/ BookNavigationBlock.php - Provides a 'Book navigation' block.
- Broken in core/
lib/ Drupal/ Core/ Block/ Plugin/ Block/ Broken.php - Defines a fallback plugin for missing block plugins.
- FieldBlock in core/
modules/ layout_builder/ tests/ modules/ layout_builder_fieldblock_test/ src/ Plugin/ Block/ FieldBlock.php - Provides test field block to test with Block UI.
- HelpBlock in core/
modules/ help/ src/ Plugin/ Block/ HelpBlock.php - Provides a 'Help' block.
- LanguageBlock in core/
modules/ language/ src/ Plugin/ Block/ LanguageBlock.php - Provides a 'Language switcher' block.
- LocalActionsBlock in core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalActionsBlock.php - Provides a block to display the local actions.
- LocalTasksBlock in core/
lib/ Drupal/ Core/ Menu/ Plugin/ Block/ LocalTasksBlock.php - Provides a "Tabs" block to display the local tasks.
- NewTopicsBlock in core/
modules/ forum/ src/ Plugin/ Block/ NewTopicsBlock.php - Provides a 'New forum topics' block.
- PageTitleBlock in core/
lib/ Drupal/ Core/ Block/ Plugin/ Block/ PageTitleBlock.php - Provides a block to display the page title.
- RedirectFormBlock in core/
modules/ system/ tests/ modules/ form_test/ src/ Plugin/ Block/ RedirectFormBlock.php - Provides a block containing a simple redirect form.
- SearchBlock in core/
modules/ search/ src/ Plugin/ Block/ SearchBlock.php - Provides a 'Search form' block.
- SettingsTrayFormAnnotationIsClassBlock in core/
modules/ settings_tray/ tests/ modules/ settings_tray_test/ src/ Plugin/ Block/ SettingsTrayFormAnnotationIsClassBlock.php - Block that explicitly provides a "settings_tray" form class.
- SettingsTrayFormAnnotationIsFalseBlock in core/
modules/ settings_tray/ tests/ modules/ settings_tray_test/ src/ Plugin/ Block/ SettingsTrayFormAnnotationIsFalseBlock.php - Block that explicitly provides no "settings_tray" form, thus opting out.
- SettingsTrayFormAnnotationNoneBlock in core/
modules/ settings_tray/ tests/ modules/ settings_tray_test/ src/ Plugin/ Block/ SettingsTrayFormAnnotationNoneBlock.php - Block that does nothing explicit for Settings Tray.
- ShortcutsBlock in core/
modules/ shortcut/ src/ Plugin/ Block/ ShortcutsBlock.php - Provides a 'Shortcut' block.
- StatisticsPopularBlock in core/
modules/ statistics/ src/ Plugin/ Block/ StatisticsPopularBlock.php - Provides a 'Popular content' block.
- SyndicateBlock in core/
modules/ node/ src/ Plugin/ Block/ SyndicateBlock.php - Provides a 'Syndicate' block that links to the site's RSS feed.
- SystemBrandingBlock in core/
modules/ system/ src/ Plugin/ Block/ SystemBrandingBlock.php - Provides a block to display 'Site branding' elements.
- SystemBreadcrumbBlock in core/
modules/ system/ src/ Plugin/ Block/ SystemBreadcrumbBlock.php - Provides a block to display the breadcrumbs.
- SystemMainBlock in core/
modules/ system/ src/ Plugin/ Block/ SystemMainBlock.php - Provides a 'Main page content' block.
- SystemMenuBlock in core/
modules/ system/ src/ Plugin/ Block/ SystemMenuBlock.php - Provides a generic Menu block.
- SystemMessagesBlock in core/
modules/ system/ src/ Plugin/ Block/ SystemMessagesBlock.php - Provides a block to display the messages.
- SystemPoweredByBlock in core/
modules/ system/ src/ Plugin/ Block/ SystemPoweredByBlock.php - Provides a 'Powered by Drupal' block.
- TestAccessBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestAccessBlock.php - Provides a block to test access.
- TestAjaxBlock in core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ Block/ TestAjaxBlock.php - Provides a 'TestAjax' block.
- TestBlockInstantiation in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestBlockInstantiation.php - Provides a basic block for testing block instantiation and configuration.
- TestCacheBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestCacheBlock.php - Provides a block to test caching.
- TestContextAwareBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestContextAwareBlock.php - Provides a context-aware block.
- TestContextAwareNoValidContextOptionsBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestContextAwareNoValidContextOptionsBlock.php - Provides a context-aware block that uses a not-passed, non-required context.
- TestContextAwareUnsatisfiedBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestContextAwareUnsatisfiedBlock.php - Provides a context-aware block.
- TestFormApiFormBlock in core/
modules/ layout_builder/ tests/ modules/ layout_builder_form_block_test/ src/ Plugin/ Block/ TestFormApiFormBlock.php - Provides a block containing a Form API form for use in Layout Builder tests.
- TestFormBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestFormBlock.php - Provides a block to test caching.
- TestHtmlBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestHtmlBlock.php - Provides a block to test HTML.
- TestInlineTemplateFormBlock in core/
modules/ layout_builder/ tests/ modules/ layout_builder_form_block_test/ src/ Plugin/ Block/ TestInlineTemplateFormBlock.php - Provides a block containing inline template with <form> tag.
- TestMultipleFormsBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestMultipleFormsBlock.php - Provides a block with multiple forms.
- TestSettingsValidationBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestSettingsValidationBlock.php - Provides a test settings validation block.
- TestXSSTitleBlock in core/
modules/ block/ tests/ modules/ block_test/ src/ Plugin/ Block/ TestXSSTitleBlock.php - Provides a block to test XSS in title.
- UserLoginBlock in core/
modules/ user/ src/ Plugin/ Block/ UserLoginBlock.php - Provides a 'User login' block.
- ValidationErrorBlock in core/
modules/ settings_tray/ tests/ modules/ settings_tray_test/ src/ Plugin/ Block/ ValidationErrorBlock.php - Provides a 'Block with validation error' test block.
- ViewsBlock in core/
modules/ views/ src/ Plugin/ Block/ ViewsBlock.php - Provides a generic Views block.
- ViewsExposedFilterBlock in core/
modules/ views/ src/ Plugin/ Block/ ViewsExposedFilterBlock.php - Provides a 'Views Exposed Filter' block.
- WorkspaceSwitcherBlock in core/
modules/ workspaces/ src/ Plugin/ Block/ WorkspaceSwitcherBlock.php - Provides a 'Workspace switcher' block.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.