ip2country.routing.yml in IP-based Determination of a Visitor's Country 8
17 string references to YAML keys in ip2country.routing.yml
- drush_ip2country_update in ./
ip2country.drush.inc - Implements drush_hook_COMMAND() for the ip2country-update command.
- Ip2CountryCommands::update in src/
Commands/ Ip2CountryCommands.php - Updates the Ip2Country database from a Regional Internet Registry.
- Ip2CountryController::create in src/
Controller/ Ip2CountryController.php - Instantiates a new instance of this class.
- Ip2CountryController::updateDatabaseAction in src/
Controller/ Ip2CountryController.php - AJAX callback to update the IP to Country database.
- Ip2CountryResource::create in src/
Plugin/ rest/ resource/ Ip2CountryResource.php - Creates an instance of the plugin.
File
ip2country.routing.ymlView source
- ip2country.settings:
- path: '/admin/config/people/ip2country'
- defaults:
- _form: '\Drupal\ip2country\Form\Ip2CountrySettingsForm'
- _title: 'User location'
- requirements:
- _permission: 'administer ip2country'
-
- ip2country.update_database:
- path: '/admin/config/people/ip2country/update/{rir}'
- defaults:
- _controller: '\Drupal\ip2country\Controller\Ip2CountryController::updateDatabaseAction'
- _title: 'Update database'
- requirements:
- _permission: 'administer ip2country'
-
- ip2country.lookup:
- path: '/admin/config/people/ip2country/lookup/{ip_address}'
- defaults:
- _controller: '\Drupal\ip2country\Controller\Ip2CountryController::lookupAction'
- _title: 'Lookup IP address in database'
- requirements:
- _permission: 'administer ip2country'