public function SortableviewsAccess::__construct in Sortableviews 8
Builds a new SortableViewsAccess object.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager service.
\Drupal\views\ViewExecutableFactory $views_executable_factory: An instantiated ViewExecutableFactory object.
File
- src/
Access/ SortableviewsAccess.php, line 39
Class
- SortableviewsAccess
- Determines whether user has access to edit a views base entity.
Namespace
Drupal\sortableviews\AccessCode
public function __construct(EntityTypeManagerInterface $entity_manager, ViewExecutableFactory $views_executable_factory) {
$this->entityManager = $entity_manager;
$this->viewsExecutableFactory = $views_executable_factory;
}