Start to add what we'll actually cover

This commit is contained in:
benjamin melançon 2020-03-18 09:53:10 -04:00
parent b77744e30c
commit 5531a0e7a6

View file

@ -172,16 +172,57 @@ You now know enough to be dangerous.
--- ---
#### We'll cover
* Hooks
* form_alter
* node_insert
* Plugins
* Block
* Formatter
* Services
* Route subscriber
* Event subscriber
{{% note %}} {{% note %}}
Doing something with a form? You want hook_form_alter() or one of its
{{% /note %}} the three main ways to mess with Drupal 8 and 9: hooks, plugins, and services, with a couple examples in each.
{{% /note %}}
---
---
{{% note %}}
{{% note %}}
both examples of what technically to do and how to do general things
For example:
Doing something with a form? You want hook_form_alter() or one of its variants.
{{% /note %}}
---
## Learning to learn
* Drupal documentation
* Duck Duck Go (!g if you need Google results)
* Debugger - look for
{{% note %}}
Where to start if i don't cover it in this session
{{% /note %}}
---
### When not to make a module
{{% note %}}
find a contrib module that does it
Should it be in a template
{{% /note %}} {{% /note %}}