src/Extensions/DisplayLogic.php
public function DisplayLogic()
    {
        if ($criteria = $this->getDisplayLogicCriteria()) {
            Requirements::javascript('unclecheese/display-logic: client/dist/js/bundle.js');
            Requirements::css('unclecheese/display-logic: client/dist/styles/bundle.css');
            return $criteria->toScript();
        }
        
        return false;
    }
public function DisplayLogic()
    {
        if ($criteria = $this->getDisplayLogicCriteria()) {
            Requirements::javascript('unclecheese/display-logic: client/dist/js/bundle.js');
            Requirements::css('unclecheese/display-logic: client/dist/styles/bundle.css');
            return $criteria->toScript();
        }
        
        return false;
    }
public function DisplayLogic ( ) { if ( $ criteria = $ this -> getDisplayLogicCriteria ( ) ) { Requirements :: javascript ( 'unclecheese/display-logic: client/dist/js/bundle.js' ) ; Requirements :: css ( 'unclecheese/display-logic: client/dist/styles/bundle.css' ) ; return $ criteria -> toScript ( ) ; } return false ; }
Loads the dependencies and renders the JavaScript-readable logic to the form HTML

@return  string
Loads the dependencies and renders the JavaScript - readable logic to the form HTML