public function getBreadcrumbInfo(Model $model, $id = null, $includeRoot = null) {
		if (!empty($id) && ($includeRoot === null)) {
			$includeRoot = true;
		}

		$result = [];
		$root = [];
		if ($includeRoot) {
			$root = $model->getBreadcrumbInfo();
			if (empty($root)) {
				return $result;
			}
		}

		$info = $model->createBreadcrumb($id);
		if (empty($info)) {
			return $result;
		}

		if (!empty($root)) {
			$result = $root;
		}
		$result[] = $info;

		return $result;
	}