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