Commit c0201fbb authored by dpi's avatar dpi

Fixed compatibility with Drupal8-rc1

parent 82b0cebd
......@@ -10,7 +10,7 @@ use Drupal\courier\Entity\TemplateCollection;
/**
* Implements hook_entity_access().
*/
function courier_system_entity_access(EntityInterface $entity, $operation, AccountInterface $account, $langcode) {
function courier_system_entity_access(EntityInterface $entity, $operation, AccountInterface $account) {
if ($operation == 'templates' && $entity instanceof TemplateCollectionInterface) {
// Determine if template collection belongs to courier_system.
$template_collection_ids = \Drupal::state()->get('courier_system_template_collections', []);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment