It seems we missed some of the hook_rdf_mapping implementations when we were removing the hook. These should be removed.

Comments

linclark’s picture

Title: Remove remaining hook_rdf_mapping implementations » Remove mentions of hook_rdf_mapping
Issue tags: -Novice

Webflo got the remaining implementation in #2030953: Remove node_rdf_mapping()., so I'm going to refocus this issue.

hook_rdf_mapping is used as an example in system.api.php for hook_module_implements_alter. It should be removed.

krlucas’s picture

Assigned: Unassigned » krlucas
Issue summary: View changes

This should be pretty straightforward. I'll post a patch momentarily.

krlucas’s picture

Status: Active » Needs work
StatusFileSize
new783 bytes

Ok this patch removes the mention of rdf_mapping in system.api.php. However there's still another mention of hook_rdf_mapping in a comment for hook_rdf_namespaces() in core/modules/rdf/rdf.api.php. Unfortunately I don't know enough about that hook and its replacement to update the comment intelligently (yet).

krlucas’s picture

Status: Needs work » Needs review
StatusFileSize
new510 bytes
new1.34 KB

Here's the patch again with an updated comment for hook_rdf_namespaces.

krlucas’s picture

StatusFileSize
new531 bytes
new1.45 KB

Minor grammar change.

marvil07’s picture

Assigned: krlucas » Unassigned
Status: Needs review » Needs work
Issue tags: +Documentation, +developer, +Novice

Change is about documentation, looks fine, sadly it does not apply anymore.
hint: some of system.api.php is moved to module.api.php.

pjbaert’s picture

Status: Needs work » Needs review
StatusFileSize
new1.44 KB

Reroll

marvil07’s picture

Status: Needs review » Needs work

Thanks for the re-roll.

+++ b/core/modules/rdf/rdf.api.php
@@ -14,9 +14,9 @@
- * namespace prefix.
+ * namespaces prefixes.

I think you mean namespace instead of namespacces.

pjbaert’s picture

Status: Needs work » Needs review
StatusFileSize
new1.44 KB

Whoops, that's correct @marvil07
Updated patch:

+++ b/core/modules/rdf/rdf.api.php
@@ -14,9 +14,9 @@
- * namespace prefix.
+ * namespace prefixes.
koence’s picture

Status: Needs review » Reviewed & tested by the community

I noticed @pjbaert updated the namespace line mentioned in #8. I presume this is rtbc.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Documentation is not frozen in beta. Committed 06f947c and pushed to 8.0.x. Thanks!

  • alexpott committed 06f947c on 8.0.x
    Issue #2030467 by krlucas, pjbaert: Remove mentions of hook_rdf_mapping
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.