dev-master
9999999-devGenerates a unique key for every node.
GPL-3.0+
The Requires
by Samuel Marchal
by Jean-Luc Fritz
1.0
1.0.0.0Generates a unique key for every node.
GPL-3.0+
The Requires
by Samuel Marchal
by Jean-Luc Fritz
Wallogit.com
2017 © Pedro Peláez
Generates a unique key for every node.
The Node Key module generate a unique key for every node.
This key can be used to load an node without relying on its id., (*1)
Drupal 9.x., (*2)
Install this module as usual. Please see https://www.drupal.org/docs/extending-drupal/installing-modules, (*3)
Global module settings can be found at admin/config/nodekey., (*4)
// Get the url of a node
$url = NodeKeyEntity::url('my_node_key');
// Get a node entity
$node = NodeKeyEntity::load('my_node_key');
// Create a new key
$nodekey = NodeKeyEntity::create($node);
// theme suggestions
page--'my_node_key'
node--'my_node_key'
You can find the list of all created keys at /admin/config/nodekey/list.
This module currently does not allow edition, but feel free to edit the node_nodekey table in your database (just make sure taht there are no duplicates)., (*5)
Generates a unique key for every node.
GPL-3.0+
Generates a unique key for every node.
GPL-3.0+