Overrides DatabaseStorageController::__construct().
string $entity_type: The entity type for which the instance is created.
array $entity_info: An array of entity info for the entity type.
\Drupal\Core\Database\Connection $database: The database connection to be used.
\Symfony\Cmf\Component\Routing\RouteProviderInterface $route_provider: The route provider service.
Overrides DatabaseStorageController::__construct
public function __construct($entity_type, array $entity_info, Connection $database, RouteProviderInterface $route_provider) {
parent::__construct($entity_type, $entity_info, $database);
$this->routeProvider = $route_provider;
if (empty(static::$routerItemFields)) {
static::$routerItemFields = array_diff(drupal_schema_fields_sql('menu_router'), array(
'weight',
));
}
}