Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291123

defaults to in 1354 doc standards for optional args

$
0
0

The update to 1354 was a good reorganization and rewrite.

During it, some of the long examples of @params were taken out. http://drupal.org/node/1354/revisions/view/2415402/2546068

under (optional) there is no longer in the examples: Defaults to Blah.

Is it still the standard to have Defaults to... ?

for example

-* @param bool $third
-* (optional) TRUE if Third should be done. Defaults to FALSE.

- * - element: (optional) Integer to distinguish between multiple pagers on one
- * page. Defaults to 0 (zero).

Viewing all articles
Browse latest Browse all 291123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>