This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Start from the projects folder. Let's suppose this project will be called drupal11 | |
composer create-project drupal/recommended-project:^11 drupal11 | |
cd ~/Projects/drupal11 | |
ddev config --project-type=drupal10 --docroot=web --php-version=8.3 | |
ddev start | |
ddev launch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Render columns block with extra class | |
* | |
* @param string $block_content The block content about to be rendered. | |
* @param array $block The full block, including name and attributes. | |
* @return string | |
*/ | |
function render_columns_block_class( $block_content, $block ) { |