Extends the twig embed tag to allow an implicit default block. This package enables the easy installation and complete encapsulation of this construct for Craft CMS, but the logic is implemented in Twig Embed Implicit Default to remain applicable to any framework using twig. See that package for full documentation.
This plugin requires Craft CMS 4.3.5 or later, and PHP 8.0.2 or later.
You can install this plugin from the Plugin Store or with Composer.
Go to the Plugin Store in your project’s Control Panel and search for “Embed Implicit Default”. Then press “Install”.
Open your terminal and run the following commands:
# go to the project directory
cd /path/to/my-project.test
# tell Composer to load the plugin
composer require acalvino/craft-embed-implicit-default
# tell Craft to install the plugin
./craft plugin/install embed-implicit-default