src/Contao/Dca/Builder/Legacy/LegacyDcaDataDefinitionBuilder.php
private function isCallbackBlacklisted($callback, $listener)
    {
        return ((ContainerOnLoadCallbackListener::class === $listener)
                && \is_array($callback)
                && ('checkPermission' === $callback[1])
                && (0 === strpos($callback[0], 'tl_')));
    }
private function isCallbackBlacklisted($callback, $listener)
    {
        return ((ContainerOnLoadCallbackListener::class === $listener)
                && \is_array($callback)
                && ('checkPermission' === $callback[1])
                && (0 === strpos($callback[0], 'tl_')));
    }
private function isCallbackBlacklisted ( $ callback , $ listener ) { return ( ( ContainerOnLoadCallbackListener :: class === $ listener ) && \ is_array ( $ callback ) && ( 'checkPermission' === $ callback [ 1 ] ) && ( 0 === strpos ( $ callback [ 0 ] , 'tl_' ) ) ) ; }
Check if callback is blacklisted.

@param mixed  $callback The callback.
@param string $listener The listener class.

@return bool
Check if callback is blacklisted .