improve spacing, formatting

This commit is contained in:
benjamin melançon 2020-03-18 23:26:08 -04:00
parent 6adefc5c04
commit 524aa294e4

View file

@ -161,6 +161,29 @@ And we're going to tell you how you can figure out all of that.
--- ---
`frankenstein.info.yml`
```yaml
name: Frankenstein
type: module
description: "Rename save button for Frankenstein's content."
core: 8.x|9.x
```
 
`frankenstein.module`
```php
<?php
function frankenstein_form_node_frankenstein_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state) {
$form['actions']['submit']['#value'] = t('Re-animate!');
}
```
---
A few basic approaches give a lot of power. A few basic approaches give a lot of power.
<img alt="Screwdriver with extensive collection of driver tips." src="images/screwdriver-tip-set.jpg" width="70%" /> <img alt="Screwdriver with extensive collection of driver tips." src="images/screwdriver-tip-set.jpg" width="70%" />
@ -209,13 +232,23 @@ With our dirty secrets acknowledged, on with the show.
--- ---
1. Act One: How Not To Make a Module
2. Act Two: How Not To Have to Make a Whole Module ## The Show
3. Act Three: How To Make a Module
4. Act Four: How To Figure Out How To Make a Module - Act One: **How Not To Make a Module**
- Act Two: **How Not To Have to Make a Whole Module**
- Act Three: **How To Make a Module**
- Act Four: **How To Figure Out How To Make a Module**
{{% note %}}
With our dirty secrets acknowledged, on with the show.
{{% /note %}}
--- ---
## We'll cover ## We'll cover
* Hooks * Hooks