RedirectFormBlock |
class |
core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php |
Provides a block containing a simple redirect form. |
RedirectFormBlock.php |
file |
core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php |
|
RedirectFormBlock::$formBuilder |
property |
core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php |
The form builder. |
RedirectFormBlock::build |
function |
core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php |
Builds and returns the renderable array for this block plugin. |
RedirectFormBlock::create |
function |
core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php |
Creates an instance of the plugin. |
RedirectFormBlock::getCacheMaxAge |
function |
core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php |
@todo Make cacheable once https://www.drupal.org/node/2351015 lands. |
RedirectFormBlock::__construct |
function |
core/modules/system/tests/modules/form_test/src/Plugin/Block/RedirectFormBlock.php |
Constructs a new RedirectFormBlock. |
RemoveBlockForm |
class |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
Provides a form to confirm the removal of a block. |
RemoveBlockForm.php |
file |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
|
RemoveBlockForm::$region |
property |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
The current region. |
RemoveBlockForm::$uuid |
property |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
The UUID of the block being removed. |
RemoveBlockForm::buildForm |
function |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
Form constructor. |
RemoveBlockForm::getConfirmText |
function |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
Returns a caption for the button that confirms the action. |
RemoveBlockForm::getFormId |
function |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
Returns a unique string identifying the form. |
RemoveBlockForm::getQuestion |
function |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
Returns the question to ask the user. |
RemoveBlockForm::handleSectionStorage |
function |
core/modules/layout_builder/src/Form/RemoveBlockForm.php |
Performs any actions on the section storage before saving. |
RevisionRelationshipsTest::testBlockContentRevisionRelationship |
function |
core/modules/block_content/tests/src/Kernel/Views/RevisionRelationshipsTest.php |
Create a block_content with revision and rest result count for both views. |
RouteBuilderTest::testRebuildBlockingLock |
function |
core/tests/Drupal/Tests/Core/Routing/RouteBuilderTest.php |
Tests route rebuilding with a blocking lock. |
SearchBlock |
class |
core/modules/search/src/Plugin/Block/SearchBlock.php |
Provides a 'Search form' block. |
SearchBlock.php |
file |
core/modules/search/src/Plugin/Block/SearchBlock.php |
|
SearchBlock::$formBuilder |
property |
core/modules/search/src/Plugin/Block/SearchBlock.php |
The form builder. |
SearchBlock::$searchPageRepository |
property |
core/modules/search/src/Plugin/Block/SearchBlock.php |
The search page repository. |
SearchBlock::blockAccess |
function |
core/modules/search/src/Plugin/Block/SearchBlock.php |
Indicates whether the block should be shown. |
SearchBlock::blockForm |
function |
core/modules/search/src/Plugin/Block/SearchBlock.php |
|
SearchBlock::blockSubmit |
function |
core/modules/search/src/Plugin/Block/SearchBlock.php |
|
SearchBlock::build |
function |
core/modules/search/src/Plugin/Block/SearchBlock.php |
Builds and returns the renderable array for this block plugin. |
SearchBlock::create |
function |
core/modules/search/src/Plugin/Block/SearchBlock.php |
Creates an instance of the plugin. |
SearchBlock::defaultConfiguration |
function |
core/modules/search/src/Plugin/Block/SearchBlock.php |
|
SearchBlock::__construct |
function |
core/modules/search/src/Plugin/Block/SearchBlock.php |
Constructs a new SearchLocalTask. |
SearchBlockForm |
class |
core/modules/search/src/Form/SearchBlockForm.php |
Builds the search form for the search block. |
SearchBlockForm.php |
file |
core/modules/search/src/Form/SearchBlockForm.php |
|
SearchBlockForm::$configFactory |
property |
core/modules/search/src/Form/SearchBlockForm.php |
The config factory. |
SearchBlockForm::$renderer |
property |
core/modules/search/src/Form/SearchBlockForm.php |
The renderer. |
SearchBlockForm::$searchPageRepository |
property |
core/modules/search/src/Form/SearchBlockForm.php |
The search page repository. |
SearchBlockForm::buildForm |
function |
core/modules/search/src/Form/SearchBlockForm.php |
Form constructor. |
SearchBlockForm::create |
function |
core/modules/search/src/Form/SearchBlockForm.php |
Instantiates a new instance of this class. |
SearchBlockForm::getFormId |
function |
core/modules/search/src/Form/SearchBlockForm.php |
Returns a unique string identifying the form. |
SearchBlockForm::submitForm |
function |
core/modules/search/src/Form/SearchBlockForm.php |
Form submission handler. |
SearchBlockForm::__construct |
function |
core/modules/search/src/Form/SearchBlockForm.php |
Constructs a new SearchBlockForm. |
SearchBlockTest |
class |
core/modules/search/tests/src/Functional/SearchBlockTest.php |
Tests if the search form block is available. |
SearchBlockTest.php |
file |
core/modules/search/tests/src/Functional/SearchBlockTest.php |
|
SearchBlockTest::$adminUser |
property |
core/modules/search/tests/src/Functional/SearchBlockTest.php |
The administrative user. |
SearchBlockTest::$defaultTheme |
property |
core/modules/search/tests/src/Functional/SearchBlockTest.php |
The theme to install as the default for testing. |
SearchBlockTest::$modules |
property |
core/modules/search/tests/src/Functional/SearchBlockTest.php |
Modules to enable. |
SearchBlockTest::setUp |
function |
core/modules/search/tests/src/Functional/SearchBlockTest.php |
|
SearchBlockTest::testSearchFormBlock |
function |
core/modules/search/tests/src/Functional/SearchBlockTest.php |
Tests that the search form block can be placed and works. |
search_form_search_block_form_alter |
function |
core/modules/search/search.module |
Implements hook_form_FORM_ID_alter() for the search_block_form form. |
search_preprocess_block |
function |
core/modules/search/search.module |
Implements hook_preprocess_HOOK() for block templates. |
SectionRenderTest::$blockManager |
property |
core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php |
The block plugin manager. |
SectionRenderTest::testContextAwareBlock |
function |
core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php |
@covers ::toRenderArray |