Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Drupal\Core\Menu\Form; use Drupal\Core\Form\FormStateInterface; use Drup..
Decoded Output download
<?php
namespace Drupal\Core\Menu\Form;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Menu\MenuLinkInterface;
use Drupal\Core\Plugin\PluginFormInterface;
/**
* Defines an interface for edit forms of menu links.
*
* All menu link plugins use the same interface for their configuration or
* editing form, but the implementations may differ.
*
* @see \Drupal\Core\Menu\MenuLinkInterface::getFormClass()
*/
interface MenuLinkFormInterface extends PluginFormInterface {
/**
* Injects the menu link plugin instance.
*
* @param \Drupal\Core\Menu\MenuLinkInterface $menu_link
* A menu link plugin instance.
*/
public function setMenuLinkInstance(MenuLinkInterface $menu_link);
/**
* Extracts a plugin definition from form values.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*
* @return array
* The new plugin definition values taken from the form values. The plugin
* ID must be returned as part of the definition.
*/
public function extractFormValues(array &$form, FormStateInterface $form_state);
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Drupal\Core\Menu\Form;
use Drupal\Core\Form\FormStateInterface;
use Drupal\Core\Menu\MenuLinkInterface;
use Drupal\Core\Plugin\PluginFormInterface;
/**
* Defines an interface for edit forms of menu links.
*
* All menu link plugins use the same interface for their configuration or
* editing form, but the implementations may differ.
*
* @see \Drupal\Core\Menu\MenuLinkInterface::getFormClass()
*/
interface MenuLinkFormInterface extends PluginFormInterface {
/**
* Injects the menu link plugin instance.
*
* @param \Drupal\Core\Menu\MenuLinkInterface $menu_link
* A menu link plugin instance.
*/
public function setMenuLinkInstance(MenuLinkInterface $menu_link);
/**
* Extracts a plugin definition from form values.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*
* @return array
* The new plugin definition values taken from the form values. The plugin
* ID must be returned as part of the definition.
*/
public function extractFormValues(array &$form, FormStateInterface $form_state);
}
Function Calls
None |
Stats
MD5 | aabef4b50e01048502ad065aa4d730bb |
Eval Count | 0 |
Decode Time | 90 ms |