im having a little trouble keeping a project update.
I track the code via a private git repo, and for each update I follow those steps (first on stagin, then on production):
- update all the 3rd pars modules (from drupal.org)
- Update database (via drush updb)
Then if everything is ok:
- update my modules (via git repo)
- update database (drush again)
All works perfectly, except for pages/views exported via Features module: in my module i hav a function like this:
/**
* Implements hook_default_page_manager_pages().
*/
function mymodule_default_page_manager_pages() {
// Second page...
$page = new stdClass();
// page definition, display, etc..
$pages['page_machine_name'] = $page;
// Second page...
$page = new stdClass();
// page definition, display, etc..
$pages['page_machine_name'] = $page;
return $pages;
}
The structure is the same for views.
I noticed that if i update that function changing something in a previous declared (and imported) page (add a pane, change a configuration on a content, etc..), this one wont get updated! (yeah, i flushed the cache different times both via UI and via drush)
Am I doing something wrong? There is a specific way to update those elements?