- string $positions: The position(s) for which the number of modules are to be counted.
Example:
<?php if (cm('left')) modules('left'); ?>
Returns the number of modules in $positions. This is a shortcut for $this->countModules($position)
Example:
<?php if (cm('left')) modules('left'); ?>
We've got all the documentation you'll need right here.