Skip to content
Snippets Groups Projects
Commit b1dc1f1f authored by Matt Glaman's avatar Matt Glaman
Browse files

Issue #3268650: Installing example module

parent e9845f21
No related branches found
No related tags found
1 merge request!11Issue #3268650: Installing example module
# 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)
# 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment