public function DefaultContentManagerInterface::setScanner in Default Content 8
Set the scanner.
Parameters
\Drupal\defaultcontent\DefaultContentScanner $scanner: The system scanner.
1 method overrides DefaultContentManagerInterface::setScanner()
- DefaultContentManager::setScanner in src/
DefaultContentManager.php - Set the scanner.
File
- src/
DefaultContentManagerInterface.php, line 21 - Contains \Drupal\defaultcontent\DefaultContentManager.
Class
- DefaultContentManagerInterface
- An interface defining a default content importer.
Namespace
Drupal\defaultcontentCode
public function setScanner(DefaultContentScanner $scanner);