class BrokenEntityQueueHandler in Entityqueue 7
A NULL implementation of EntityQueueHandlerInterface.
Hierarchy
- class \EntityQueueHandlerBase implements EntityQueueHandlerInterface
- class \BrokenEntityQueueHandler
Expanded class hierarchy of BrokenEntityQueueHandler
File
- plugins/
entityqueue/ handler/ base.inc, line 187 - Contains Entityqueue handler interface and base class.
View source
class BrokenEntityQueueHandler extends EntityQueueHandlerBase {
/**
* {@inheritdoc}
*/
public static function getInstance(EntityQueue $queue) {
return new BrokenEntityQueueHandler($queue);
}
/**
* {@inheritdoc}
*/
public function settingsForm() {
$form['handler'] = array(
'#markup' => t('The selected handler is broken.'),
);
return $form;
}
public function subqueueForm(EntitySubqueue $subqueue, &$form_state) {
$form['handler'] = array(
'#markup' => t('The selected handler is broken.'),
);
return $form;
}
/**
* {@inheritdoc}
*/
public function getHandlerLabel() {
return '<em>' . t('Broken/missing handler') . '</em>';
}
/**
* {@inheritdoc}
*/
public function getSubqueueLabel(EntitySubqueue $subqueue) {
return '';
}
}