public MenuLinkBase::getFormClass()
Returns the name of a class that can build an editing form for this link.
To instantiate the form class, use an instance of the \Drupal\Core\DependencyInjection\ClassResolverInterface, such as from the class_resolver service. Then call the setMenuLinkInstance() method on the form instance with the menu link plugin instance.
@todo Add a code example. https://www.drupal.org/node/2302849
string A class that implements \Drupal\Core\Menu\Form\MenuLinkFormInterface.
Overrides MenuLinkInterface::getFormClass
public function getFormClass() { return $this->pluginDefinition['form_class']; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Menu!MenuLinkBase.php/function/MenuLinkBase::getFormClass/8.1.x