$hasContent = empty($this->item->module) || isset($this->item->xml->customContent);
line 23 in /administrator/components/com_modules/tmpl/module/edit.php
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.
Sign up to join this community$hasContent = empty($this->item->module) || isset($this->item->xml->customContent);
line 23 in /administrator/components/com_modules/tmpl/module/edit.php
Sets a value to $hascontent if either of the conditions on the right side is true. The conditions appear to be is the module empty or is customContent set, i.e. not null.
If you want to find out what the value is that is set then use the following to display it.
echo print_r($hascontent);
or
echo var_dump($hascontent);
||
operator? – mickmackusa♦ May 28 '19 at 9:15