This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Condition to check if beLayout selected for page or its parent(s) matches required value | |
* | |
* @param int $layout UID of layout to check | |
* | |
* @return bool True if first `found be_layout` OR `backend_layout_next_level` matches the param | |
*/ | |
function user_beLayout($layout) { |