The API Module enables linking to functions of other APIs such as Drupal core and PHP functions, defined under REFERENCE BRANCHES at /admin/config/development/api/php_branches, as described at Create your own API Site in Drupal 7.

One has to enter a URL for the API dump file. For example, for Drupal core the dump file is at https://api.drupal.org/api/drupal/full_list/7

Q: Is there a similar API dump file for the Examples project, and if so, what is the dump file URL ?

Comments

Mile23’s picture

Hey, cool.

That really falls under the province of the API project. But it appears that if you substitute 'examples' for 'drupal' in the URL, you get some useful JSON back: https://api.drupal.org/api/examples/full_list/7

Swap out 8 for the D8 version: https://api.drupal.org/api/examples/full_list/8

API project: https://drupal.org/project/api

Is that what you're looking for?

webel’s picture

Status: Active » Fixed

if you substitute 'examples' for 'drupal' in the URL, you get some useful JSON back: https://api.drupal.org/api/examples/full_list/7

@Mile23 Works like a charm, many thanks.

See running example, reference to form_example_tutorial7() turns into link form_example_tutorial_7() at one of my Object-Oriented Examples (OOE) tutorial module generated API pages: ">OOE 7.x-1.x » ooe.module function » ooe_form_demo_submit($form, &$form_state)

Status: Fixed » Closed (fixed)

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