Skip to content

Layout.xml move element with custom condition

I want move an element based on my helper custom return (True/False), i knew if config can link up with backend config, but is it possible to use a custom helper?

        <move element="logo" destination="header-wrapper" after="top.search" 
ifconfig="customhelper??"/>

Is it possible to to that?