{% block file_methods %} {% if not file_exists %} {% include 'module/php_tag.php.twig' %} {% endif %} /** * Implements hook_post_update_NAME() on Module {{ module }} Post Update {{ post_update_name }}. */ function {{ module }}_post_update_{{ post_update_name }}(&$sandbox) { \Drupal::messenger()->addMessage('Module {{ module }} Post Update # {{ post_update_name }} () was executed successfully.'); } {% endblock %}