diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-03-29 02:03:48 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-03-29 02:03:48 +0300 |
commit | 1e05faffca06e780afd7169ce4febc3cad49f075 (patch) | |
tree | 4dda3fbb6c594ac158c93b2bbf54c17a7e7ab55f /libraries/classes/Index.php | |
parent | afd69b1ab353361e444a6fc3cac920e114583fda (diff) |
Extract HTML from Index::generateIndexTypeSelector
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'libraries/classes/Index.php')
-rw-r--r-- | libraries/classes/Index.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/libraries/classes/Index.php b/libraries/classes/Index.php index 25d3e7b132..4831a5e403 100644 --- a/libraries/classes/Index.php +++ b/libraries/classes/Index.php @@ -471,26 +471,6 @@ class Index } /** - * Returns HTML for the index type selector - * - * @return string HTML for the index type selector - */ - public function generateIndexTypeSelector() - { - $types = ['' => '--']; - foreach (self::getIndexTypes() as $type) { - $types[$type] = $type; - } - - return Html\Forms\Fields\DropDown::generate( - 'index[Index_type]', - $types, - $this->_type, - 'select_index_type' - ); - } - - /** * Returns how the index is packed * * @return string how the index is packed |