I saw the file of docroot/core/modules/menu_link_content/menu_link_content.post_update.php
in my project. But I can not figure out what the destination for this file. Could any one can explain for it?
Answer
The MODULE.post_update.php
file contains the hook_post_update_NAME
functions. The purpose of these hook functions is to update data, such as entities. These updates are executed after all hook_update_N()
implementations, which are executed when you run /update.php