Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

brand: JavaScript #1

Open
wants to merge 1 commit into
base: 7.x-1.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions services_documentation.inc
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ function services_documentation_method_element_examples(&$element) {
$example_bundles = $element['#example_implementations_bundles'];

// For this method, loop through each example bundle, keyed by
// language. E.g., Javascript, PHP, etc.
// language. E.g., JavaScript, PHP, etc.
foreach ($example_bundles as $language => $example_bundle) {
$element['#example_implementations_bundles'][$language]['#theme'] = 'services_documentation_implementation_bundle';

// For this example bundle, loop through the implementations.
// E.g., myExampleJavascriptApp.
// E.g., myExampleJavaScriptApp.
foreach ($example_bundle['#examples'] as $example_name => $example) {
$element['#example_implementations_bundles'][$language]['#examples'][$example_name]['#theme'] = 'services_documentation_implementation';

Expand Down