public function autoProcessImageVersions(EntityInterface $entity, $action) {
		if (!in_array($action, ['create', 'remove'])) {
			throw new InvalidArgumentException(sprintf('Action was `%s` but must be `create` or `remove`', $action));
		}
		$this->loadImageProcessingFromConfig();
		if (!isset($this->_imageVersions[$entity->model])) {
			return false;
		}
		$method = $action . 'AllImageVersions';

		return $this->{$method}($entity);
	}