Loading core/modules/block/config/optional/tour.tour.block-layout.yml 0 → 100644 +47 −0 Original line number Diff line number Diff line langcode: en status: true dependencies: module: - block id: block-layout label: 'Block Layout Page' module: block routes: - route_name: block.admin_display tips: block-layout: id: block-layout plugin: text label: 'Block Layout' body: 'Blocks are boxes of content rendered into an area, or region, of a web page that can be displayed in regions (such as footer or sidebar) on your page.' weight: 1 place-block: id: place-block plugin: text label: 'Place Blocks' body: 'Any custom or contributed block can be added to a particular region by clicking on a button Place block. A new block can also be created by clicking on Place Block' weight: 2 attributes: data-class: button--small block-region: id: block-region plugin: text label: 'Block Region' body: 'Assign or change the region of a block by clicking here. A dropdown list with all the regions will appear.You can place one block in multiple regions.' weight: 3 attributes: data-class: block-region-select configure-block: id: configure-block plugin: text label: 'Configure Block' body: 'By Clicking on "Configure" you can go ahead and edit the contents of the block, deal with the visibility settings and even change the placement of where it is on your theme.' weight: 4 attributes: data-class: dropbutton-widget custom-block-library: id: custom-block-library plugin: text label: 'Custom Block Library' body: 'The block management screen also has an another tab on the top which is used to add Custom blocks. The name of the tab is "Custom block library". This tab ultimately provides a link to add custom blocks.' weight: 5 core/modules/block/tests/src/Functional/BlockLayoutTourTest.php 0 → 100644 +51 −0 Original line number Diff line number Diff line <?php namespace Drupal\Tests\block\Functional; use Drupal\Tests\tour\Functional\TourTestBase; /** * Tests the Block Layout tour. * * @group block */ class BlockLayoutTourTest extends TourTestBase { /** * An admin user with administrative permissions for Blocks. * * @var \Drupal\user\UserInterface */ protected $adminUser; /** * Modules to enable. * * @var array */ protected static $modules = ['block', 'tour']; /** * {@inheritdoc} */ protected $defaultTheme = 'stark'; /** * {@inheritdoc} */ protected function setUp(): void { parent::setUp(); $this->adminUser = $this->drupalCreateUser(['administer blocks', 'access tour']); $this->drupalLogin($this->adminUser); $this->drupalPlaceBlock('local_actions_block'); } /** * Tests Block Layout tour tip availability. */ public function testBlockLayoutTourTips() { $this->drupalGet('admin/structure/block'); $this->assertTourTips(); } } core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ protected function getEntityCounts() { 'path_alias' => 8, 'taxonomy_term' => 15, 'taxonomy_vocabulary' => 7, 'tour' => 5, 'tour' => 6, 'user' => 7, 'user_role' => 6, 'menu_link_content' => 10, Loading core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php +1 −1 Original line number Diff line number Diff line Loading @@ -104,7 +104,7 @@ protected function getEntityCounts() { 'taxonomy_term' => 24, 'taxonomy_vocabulary' => 7, 'path_alias' => 8, 'tour' => 5, 'tour' => 6, 'user' => 4, 'user_role' => 3, 'menu_link_content' => 12, Loading Loading
core/modules/block/config/optional/tour.tour.block-layout.yml 0 → 100644 +47 −0 Original line number Diff line number Diff line langcode: en status: true dependencies: module: - block id: block-layout label: 'Block Layout Page' module: block routes: - route_name: block.admin_display tips: block-layout: id: block-layout plugin: text label: 'Block Layout' body: 'Blocks are boxes of content rendered into an area, or region, of a web page that can be displayed in regions (such as footer or sidebar) on your page.' weight: 1 place-block: id: place-block plugin: text label: 'Place Blocks' body: 'Any custom or contributed block can be added to a particular region by clicking on a button Place block. A new block can also be created by clicking on Place Block' weight: 2 attributes: data-class: button--small block-region: id: block-region plugin: text label: 'Block Region' body: 'Assign or change the region of a block by clicking here. A dropdown list with all the regions will appear.You can place one block in multiple regions.' weight: 3 attributes: data-class: block-region-select configure-block: id: configure-block plugin: text label: 'Configure Block' body: 'By Clicking on "Configure" you can go ahead and edit the contents of the block, deal with the visibility settings and even change the placement of where it is on your theme.' weight: 4 attributes: data-class: dropbutton-widget custom-block-library: id: custom-block-library plugin: text label: 'Custom Block Library' body: 'The block management screen also has an another tab on the top which is used to add Custom blocks. The name of the tab is "Custom block library". This tab ultimately provides a link to add custom blocks.' weight: 5
core/modules/block/tests/src/Functional/BlockLayoutTourTest.php 0 → 100644 +51 −0 Original line number Diff line number Diff line <?php namespace Drupal\Tests\block\Functional; use Drupal\Tests\tour\Functional\TourTestBase; /** * Tests the Block Layout tour. * * @group block */ class BlockLayoutTourTest extends TourTestBase { /** * An admin user with administrative permissions for Blocks. * * @var \Drupal\user\UserInterface */ protected $adminUser; /** * Modules to enable. * * @var array */ protected static $modules = ['block', 'tour']; /** * {@inheritdoc} */ protected $defaultTheme = 'stark'; /** * {@inheritdoc} */ protected function setUp(): void { parent::setUp(); $this->adminUser = $this->drupalCreateUser(['administer blocks', 'access tour']); $this->drupalLogin($this->adminUser); $this->drupalPlaceBlock('local_actions_block'); } /** * Tests Block Layout tour tip availability. */ public function testBlockLayoutTourTips() { $this->drupalGet('admin/structure/block'); $this->assertTourTips(); } }
core/modules/migrate_drupal_ui/tests/src/Functional/d6/Upgrade6Test.php +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ protected function getEntityCounts() { 'path_alias' => 8, 'taxonomy_term' => 15, 'taxonomy_vocabulary' => 7, 'tour' => 5, 'tour' => 6, 'user' => 7, 'user_role' => 6, 'menu_link_content' => 10, Loading
core/modules/migrate_drupal_ui/tests/src/Functional/d7/Upgrade7Test.php +1 −1 Original line number Diff line number Diff line Loading @@ -104,7 +104,7 @@ protected function getEntityCounts() { 'taxonomy_term' => 24, 'taxonomy_vocabulary' => 7, 'path_alias' => 8, 'tour' => 5, 'tour' => 6, 'user' => 4, 'user_role' => 3, 'menu_link_content' => 12, Loading