Build
This commit is contained in:
parent
8153531510
commit
015fccfcac
File diff suppressed because one or more lines are too long
BIN
sitemap.xml.gz
BIN
sitemap.xml.gz
Binary file not shown.
|
@ -1862,6 +1862,7 @@
|
|||
<a id="__codelineno-1-40" name="__codelineno-1-40" href="#__codelineno-1-40"></a><span class="p">}</span>
|
||||
</code></pre></div>
|
||||
<h2 id="creating-custom-block">Creating custom block</h2>
|
||||
<p>The easy way is to run: <code>php bin/console make:builder-block</code>.</p>
|
||||
<p>First, create a service which extends <code>App\Core\BuilderBlock\BuilderBlock</code> and tagged <code>builder_block.widget</code>.
|
||||
Then, implement the method <code>configure</code> as below.</p>
|
||||
<div class="highlight"><span class="filename">src/BuilderBlock/CustomBlock.php</span><pre><span></span><code><a id="__codelineno-2-1" name="__codelineno-2-1" href="#__codelineno-2-1"></a><span class="k">namespace</span> <span class="nx">App\BuilderBlock</span><span class="p">;</span>
|
||||
|
|
Loading…
Reference in a new issue