$pages->keys()

Returns all keys/URIs from the collection

  • return (array)

Example

Example pages

  • project-a
  • project-b
  • project-c
<?php dump($page->children()->keys()) ?>
/*
array(
  'project-a',
  'project-b',
  'project-c'
)
*/

Is something missing or incorrect? Edit this page on Github…