1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/17010] Add new interface and create template data in type

PHPBB3-17010
This commit is contained in:
Marc Alexander
2023-11-05 12:56:39 +01:00
parent fa91bf791f
commit 8d9a7aa62c
4 changed files with 89 additions and 34 deletions

View File

@@ -0,0 +1,29 @@
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\notification\method;
use phpbb\controller\helper;
use phpbb\form\form_helper;
interface extended_method_interface extends method_interface
{
/**
* Get UCP template data for type
*
* @param helper $controller_helper
* @param form_helper $form_helper
* @return array Template data
*/
public function get_ucp_template_data(helper $controller_helper, form_helper $form_helper): array;
}