Add frankenstein module
This commit is contained in:
parent
986015cbae
commit
6784edc091
2 changed files with 13 additions and 0 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
name: Frankenstein
|
||||||
|
type: module
|
||||||
|
description: "Rename save button for Frankenstein's content."
|
||||||
|
core: 8.x|9.x
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Implements hook_form_alter().
|
||||||
|
*/
|
||||||
|
function frankenstein_form_node_frankenstein_form_alter(&$form, \Drupal\Core\Form\FormStateInterface $form_state) {
|
||||||
|
$form['actions']['submit']['#value'] = t('Re-animate!');
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue