Commit 06f947ce authored by alexpott's avatar alexpott
Browse files

Issue #2030467 by krlucas, pjbaert: Remove mentions of hook_rdf_mapping

parent 357b503e
......@@ -14,9 +14,9 @@
* Allow modules to define namespaces for RDF mappings.
* Many common namespace prefixes are defined in rdf_rdf_namespaces(). However,
* if a module implements hook_rdf_mapping() and uses a prefix that is not
* if a module implements rdf mappings that use prefixes that are not
* defined in rdf_rdf_namespaces(), this hook should be used to define the new
* namespace prefix.
* namespace prefixes.
* @return
* An associative array of namespaces where the key is the namespace prefix
......@@ -70,8 +70,8 @@ function hook_hook_info() {
* The name of the module hook being implemented.
function hook_module_implements_alter(&$implementations, $hook) {
if ($hook == 'rdf_mapping') {
// Move my_module_rdf_mapping() to the end of the list.
if ($hook == 'form_alter') {
// Move my_module_form_alter() to the end of the list.
// \Drupal::moduleHandler()->getImplementations()
// iterates through $implementations with a foreach loop which PHP iterates
// in the order that the items were added, so to move an item to the end of
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment