public function DefaultContentManager::setScanner in Default Content 8
Set the scanner.
Parameters
\Drupal\defaultcontent\DefaultContentScanner $scanner: The system scanner.
Overrides DefaultContentManagerInterface::setScanner
File
- src/
DefaultContentManager.php, line 247 - Contains \Drupal\defaultcontent\DefaultContentManager. @todo remove all references to linkmanager?
Class
- DefaultContentManager
- A service for handling import of default content. @todo throw useful exceptions
Namespace
Drupal\defaultcontentCode
public function setScanner(DefaultContentScanner $scanner) {
$this->scanner = $scanner;
}