public function UrlEmbedHelperTrait::setModuleHandler in URL Embed 8
Sets the module handler service.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler service.
Return value
self
File
- src/
UrlEmbedHelperTrait.php, line 57 - Contains Drupal\url_embed\UrlEmbedHelperTrait.
Class
- UrlEmbedHelperTrait
- Wrapper methods for URL embedding.
Namespace
Drupal\url_embedCode
public function setModuleHandler(ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
return $this;
}