mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
DOCS better docblock for TinyMCEConfig::removeButtons
This commit is contained in:
parent
ae61be3a49
commit
c8c7ee4a08
@ -492,8 +492,8 @@ class TinyMCEConfig extends HTMLEditorConfig implements i18nEntityProvider
|
||||
* Totally re-set the buttons on a given line
|
||||
*
|
||||
* @param int $line The line number to redefine, from 1 to 3
|
||||
* @param string ...$buttons A string or several strings, or a single array of strings.
|
||||
* The button names to assign to this line.
|
||||
* @param string|string[] $buttons,... An array of strings, or one or more strings.
|
||||
* The button names to assign to this line.
|
||||
* @return $this
|
||||
*/
|
||||
public function setButtonsForLine($line, $buttons)
|
||||
@ -593,7 +593,7 @@ class TinyMCEConfig extends HTMLEditorConfig implements i18nEntityProvider
|
||||
|
||||
/**
|
||||
* Remove the first occurrence of buttons
|
||||
* @param string ...$buttons one or more strings - the name of the buttons to remove
|
||||
* @param string|string[] $buttons,... An array of strings, or one or more strings. The button names to remove.
|
||||
*/
|
||||
public function removeButtons($buttons)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user