buttonIsEnabled

Availability: >= 3.0

Type: Object Method

Description: Returns true if the specified button is in the toolbar layout or context menu.

Syntax:

boolean $exists $editor->buttonIsEnabledstring $button id );

Parameters: 

$exists
The function returns true if the button is enabled or false if it is not.

$buttonid
A button identifier