I’m trying to create a new module, adding tabs as exemplified in mymodule.class.php
$this->tabs = array(‘data’=>‘objecttype:+tabname1:Title1:mylangfile@bbb:$user->hasRight (‘bbb’, ‘read’) :/bbb/mynewtab1.php?id =ID’);
I try to use it but
syntax error, unexpected T_STRING, expecting error or ‘,’ or ‘)’ or ‘]’
I’m getting an error, can you help me with this? Please.
Note: Php version used is 8.1