* "add" = "Drupal\entityqueue\Form\EntityQueueForm",
* "edit" = "Drupal\entityqueue\Form\EntityQueueForm",
* "delete" = "Drupal\Core\Entity\EntityDeleteForm"
- * }
+ * },
+ * "access" = "Drupal\entityqueue\EntityQueueAccessControlHandler",
* },
* admin_permission = "administer entityqueue",
* config_prefix = "entity_queue",
/**
* {@inheritdoc}
*/
- public function setHandler($handler) {
- $this->handler = $handler;
- $this->getPluginCollection()->addInstanceID($handler, []);
+ public function getHandlerConfiguration() {
+ return $this->handler_configuration;
+ }
+
+ /**
+ * {@inheritdoc}
+ */
+ public function setHandler($handler_id) {
+ $this->handler = $handler_id;
+ $this->getPluginCollection()->addInstanceID($handler_id, []);
return $this;
}
return $this->getPluginCollection()->get($this->handler);
}
+ /**
+ * {@inheritdoc}
+ */
+ public function setHandlerPlugin($handler) {
+ $this->getPluginCollection()->set($handler->getPluginId(), $handler);
+
+ return $this;
+ }
+
/**
* {@inheritdoc}
*/