
| Current Path : /var/www/html/c12park/web/modules/contrib/webform/src/Plugin/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/www/html/c12park/web/modules/contrib/webform/src/Plugin/WebformSourceEntityInterface.php |
<?php
namespace Drupal\webform\Plugin;
use Drupal\Component\Plugin\PluginInspectionInterface;
/**
* Interface of a webform source entity plugin.
*/
interface WebformSourceEntityInterface extends PluginInspectionInterface {
/**
* Detect and return a source entity from current context.
*
* @param string[] $ignored_types
* Entity types that may not be used as a source entity.
*
* @return \Drupal\Core\Entity\EntityInterface|null
* Source entity or NULL when no source entity is found.
*/
public function getSourceEntity(array $ignored_types);
}