Open ekes opened 1 month ago
Except putting a drupal_flush_all_caches
or \Drupal::entityTypeManager()->getStorage('node_type')->resetCache()
doesn't do it.
I think maybe the module is now enabled; but the configuration node.type.·
has not yet been imported :-/
This is because the permission required are not loaded from a file but calculated. https://git.drupalcode.org/project/drupal/-/blob/0fd4bdcb16ca339c06e0eb6a8b30a4b13a810793/core/modules/node/src/NodePermissions.php#L24
return $this->generatePermissions(NodeType::loadMultiple(), [$this, 'buildPermissions']);
. SpecificallyNodeType::loadMultiple()
isn't returning the newly installed modules. I guess it's cached, and it's all in the samedrush cim
, so not getting updated.