public function AssetReorderController::__construct in farmOS 2.x
The controller constructor.
Parameters
\Drupal\farm_location\AssetLocationInterface $asset_location: The asset location service.
File
- modules/
core/ ui/ location/ src/ Controller/ AssetReorderController.php, line 31
Class
- AssetReorderController
- Returns responses for asset drag and drop routes.
Namespace
Drupal\farm_ui_location\ControllerCode
public function __construct(AssetLocationInterface $asset_location) {
$this->assetLocation = $asset_location;
}