Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
views_remote_data
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
views_remote_data
Commits
b1dc1f1f
Commit
b1dc1f1f
authored
3 years ago
by
Matt Glaman
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3268650
: Installing example module
parent
e9845f21
No related branches found
No related tags found
1 merge request
!11
Issue #3268650: Installing example module
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+9
-0
9 additions, 0 deletions
README.md
tests/modules/views_remote_data_pokeapi/README.md
+24
-0
24 additions, 0 deletions
tests/modules/views_remote_data_pokeapi/README.md
with
33 additions
and
0 deletions
README.md
0 → 100644
+
9
−
0
View file @
b1dc1f1f
# Views Remote Data
Provide an API to integrate remote data with Views.
This module does not provide a user interface and serves as an API to provide integration with Views and remote data by
implementing modules.
[
Read the documentation
](
https://www.drupal.org/docs/contributed-modules/views-remote-data
)
to
learn how to use this module.
You may also reference the implementation example module
[
views_remote_data_pokeapi
](
tests/modules/views_remote_data_pokeapi/README.md
)
This diff is collapsed.
Click to expand it.
tests/modules/views_remote_data_pokeapi/README.md
0 → 100644
+
24
−
0
View file @
b1dc1f1f
# Views Remote Data: PokeAPI
Example module using Views Remote Data and the PokeAPI.
This example module provides a new content type called "Pokemon" and a view to render a Pokedex. The view is accessible
at
`/pokemon-species`
and will display "Pokemon" nodes from data retrieved from the PokeAPI. No data is saved in Drupal
as a node.
# How to install this module
This module is a _test_ module, meaning it is not automatically discovered by Drupal. There are two methods for
installing this module.
## Allow Drupal to discovery test modules
Add the following to your
`settings.php`
to allow Drupal to scan test modules and themes:
```
php
$settings
[
'extension_discovery_scan_tests'
]
=
TRUE
;
```
## Copy the module into the `modules`
This module can be copied or moved into your normal module's directory.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment