how to managed form '#type' => 'text_format' toolbar I have a simple form:

$form['module']['name'] = array(
        '#type' =&gt; 'text_format',
        '#title' =&gt; t('Name'),
        '#description' =&gt; $this-&gt;t('Some notes'),
        '#required' =&gt; FALSE,
        '#default_value' =&gt; '',
        '#format' =&gt; 'full_html',
        '#allowed_formats' =&gt; array('full_html'),
    );


and it gives me: 

Which is good, but then, i want to manage the toolbar to remove certain buttons (e.g. only allow bold, italic, and strikethrough and remove remaining)

Can this be achieved from my custom module?
You need to +Add new text format over at /admin/config/content/formats



Then Configure your new text format and remove those icons by grabing them and dragging them from the active toolbar to the available buttons section 



Lastly, instead of full_html, use your custom format for your custom module.