mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-26 23:34:10 +02:00
DataTypeTime: Add DataType Time Hook
This commit is contained in:
parent
af874afffd
commit
9c938f1953
16
library/Director/DataType/DataTypeTime.php
Normal file
16
library/Director/DataType/DataTypeTime.php
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Icinga\Module\Director\DataType;
|
||||
|
||||
use Icinga\Module\Director\Web\Form\QuickForm;
|
||||
use Icinga\Module\Director\Web\Hook\DataTypeHook;
|
||||
|
||||
class DataTypeTime extends DataTypeHook
|
||||
{
|
||||
public function getFormElement($name, QuickForm $form)
|
||||
{
|
||||
$element = $form->createElement('text', $name);
|
||||
|
||||
return $element;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user