We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0507b00 commit 9750bb7Copy full SHA for 9750bb7
src/Stack/BaseQuery.php
@@ -307,6 +307,23 @@ public function includeFallback()
307
308
return $this->queryObject;
309
}
310
+
311
+ /**
312
+ * To include branch of publish content.
313
+ *
314
+ * @return Query
315
+ */
316
+ public function includeBranch()
317
+ {
318
+ $this->queryObject->_query = call_user_func(
319
+ 'contentstackAddBoolean',
320
+ 'include_branch',
321
+ $this->queryObject->_query
322
+ );
323
324
+ return $this->queryObject;
325
+ }
326
327
/**
328
* To include schema along with entries
329
*
0 commit comments