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
Merge requests
!11
Issue
#3268650
: Installing example module
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Issue
#3268650
: Installing example module
issue/views_remote_data-3268650:3268650-installing-example-module
into
1.0.x
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Matt Glaman
requested to merge
issue/views_remote_data-3268650:3268650-installing-example-module
into
1.0.x
3 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
1.0.x
version 1
75d90ab1
3 years ago
1.0.x (base)
and
latest version
latest version
75d90ab1
1 commit,
3 years ago
version 1
75d90ab1
1 commit,
3 years ago
2 files
+
33
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
tests/modules/views_remote_data_pokeapi/README.md
0 → 100644
+
24
−
0
Options
# 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.
Loading