scanner-8.x-1.0-rc3/scanner.api.php
scanner.api.php
<?php
/**
* @file
* Hooks provided by the scanner module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* Alter scanner definitions groups.
*
* @param array $scanners
* Scanner definitions, keyed by plugin ID.
*/
function hook_scanner_info_alter(array &$scanners) {
// Change the default node scanner handler.
$scanners['scanner_node']['class'] = 'Drupal\hook\Plugin\Scanner\CustomNodeScanner';
}
/**
* @} End of "addtogroup hooks".
*/
