Skip to content
Snippets Groups Projects
Commit 53384f6d authored by Rajab Natshah's avatar Rajab Natshah
Browse files

Issue #3305032: Change node_type with entity_bundle:node

parent cdbbf17d
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ type: 'canonical_entities:node'
pattern: 'organizations/[node:title]'
selection_criteria:
1a7d6270-e396-4450-92a2-fc03bc83dfa8:
id: node_type
id: 'entity_bundle:node'
bundles:
organization: organization
negate: false
......
......@@ -9,7 +9,7 @@ type: 'canonical_entities:node'
pattern: 'webapps/[node:title]'
selection_criteria:
fb1d0a04-7087-4945-9534-af5e4fadb556:
id: node_type
id: 'entity_bundle:node'
bundles:
webapp: webapp
negate: false
......
......@@ -25,7 +25,7 @@ function webships_install() {
// Install optional configs.
$config_installer = \Drupal::service('config.installer');
$optional_install_path = drupal_get_path('profile', 'webships') . '/' . InstallStorage::CONFIG_OPTIONAL_DIRECTORY;
$optional_install_path = \Drupal::service('extension.list.profile')->getPath('webships') . '/' . InstallStorage::CONFIG_OPTIONAL_DIRECTORY;
if (is_dir($optional_install_path)) {
// Install any optional config the profile provides.
$storage = new FileStorage($optional_install_path, StorageInterface::DEFAULT_COLLECTION);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment