Update core version requirement displays
This commit is contained in:
parent
8aa4bae918
commit
ffabe0363a
1 changed files with 10 additions and 3 deletions
|
@ -96,7 +96,7 @@ You've already created an excellent content type under Structure » Content.
|
||||||
name: Frankenstein
|
name: Frankenstein
|
||||||
type: module
|
type: module
|
||||||
description: "Rename save button for Frankenstein's content."
|
description: "Rename save button for Frankenstein's content."
|
||||||
core: 8.x|9.x
|
core: 8.x
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -167,7 +167,8 @@ And we're going to tell you how you can figure out all of that.
|
||||||
name: Frankenstein
|
name: Frankenstein
|
||||||
type: module
|
type: module
|
||||||
description: "Rename save button for Frankenstein's content."
|
description: "Rename save button for Frankenstein's content."
|
||||||
core: 8.x|9.x
|
core: 8.x
|
||||||
|
core_version_requirement: ^8 || ^9
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
@ -181,6 +182,10 @@ function frankenstein_form_node_frankenstein_form_alter(&$form, \Drupal\Core\For
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
{{% note %}}
|
||||||
|
We added the core_version_requirement line to make the module recognizeable to Drupal 9 as well as Drupal 8.
|
||||||
|
{{% /note %}}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@ -407,7 +412,8 @@ The module does not exist.
|
||||||
name: "Project Copyright"
|
name: "Project Copyright"
|
||||||
type: module
|
type: module
|
||||||
description: "Generate a block with the copyright leyend."
|
description: "Generate a block with the copyright leyend."
|
||||||
core: "8.x"
|
core: 8.x
|
||||||
|
core_version_requirement: ^8 || ^9
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
@ -516,6 +522,7 @@ Or someone may make a tiny improvement that makes everyone's lives better.
|
||||||
```diff
|
```diff
|
||||||
type: module
|
type: module
|
||||||
description: 'Provide workflow buttons for content moderation instead of a select dropdown of states.'
|
description: 'Provide workflow buttons for content moderation instead of a select dropdown of states.'
|
||||||
|
core_version_requirement: ^8 || ^9
|
||||||
core: 8.x
|
core: 8.x
|
||||||
+configure: workflow_buttons.settings
|
+configure: workflow_buttons.settings
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue