public function RestrictIpMapper::getWhitelistedPaths in Restrict IP 8
Same name and namespace in other branches
- 8.2 src/Mapper/RestrictIpMapper.php \Drupal\restrict_ip\Mapper\RestrictIpMapper::getWhitelistedPaths()
- 3.x src/Mapper/RestrictIpMapper.php \Drupal\restrict_ip\Mapper\RestrictIpMapper::getWhitelistedPaths()
*
Overrides RestrictIpMapperInterface::getWhitelistedPaths
File
- src/
Mapper/ RestrictIpMapper.php, line 51
Class
Namespace
Drupal\restrict_ip\MapperCode
public function getWhitelistedPaths() {
return $this->connection
->query('SELECT path FROM {restrict_ip_paths} WHERE type = :white ORDER BY path ASC', [
':white' => 'white',
])
->fetchCol();
}