You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was using Toolbar::getInstance until now. But it got deprecated and it is told to use ToolbarFactoryInterface.
So what I did is create toolbar instance by using
Now the problem is that the button is not being rendered in the page. There is no error or anything.
I browsed through the issues and came to this: #25971 (comment)
That's exactly the problem. We cannot see the button.
So how are we supposed to replace the Toolbar::getInstance. I browsed through the source code but the deprecated code is being used all over the place.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was using
Toolbar::getInstance
until now. But it got deprecated and it is told to useToolbarFactoryInterface
.So what I did is create toolbar instance by using
Now the problem is that the button is not being rendered in the page. There is no error or anything.
I browsed through the issues and came to this: #25971 (comment)
That's exactly the problem. We cannot see the button.
So how are we supposed to replace the
Toolbar::getInstance
. I browsed through the source code but the deprecated code is being used all over the place.Beta Was this translation helpful? Give feedback.
All reactions