class AvailableResult in Translation Management Tool 8
Returns the result for an translator availability check.
Hierarchy
- class \Drupal\tmgmt\Translator\TranslatorResult
- class \Drupal\tmgmt\Translator\AvailableResult
Expanded class hierarchy of AvailableResult
3 files declare their use of AvailableResult
- TestTranslator.php in tmgmt_test/
src/ Plugin/ tmgmt/ Translator/ TestTranslator.php - Translator.php in src/
Entity/ Translator.php - TranslatorPluginBase.php in src/
TranslatorPluginBase.php
File
- src/
Translator/ AvailableResult.php, line 8
Namespace
Drupal\tmgmt\TranslatorView source
class AvailableResult extends TranslatorResult {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TranslatorResult:: |
protected | property | Message in case success is FALSE. | |
TranslatorResult:: |
protected | property | TRUE or FALSE for response. | |
TranslatorResult:: |
public | function | Returns the reason for an unsuccessful result. | |
TranslatorResult:: |
public | function | Returns the object state on success. | |
TranslatorResult:: |
public static | function | Returns the object with FALSE and a message. | |
TranslatorResult:: |
protected | function | Sets the value success to FALSE and sets the $message accordingly. | |
TranslatorResult:: |
protected | function | Sets the value success to TRUE. | |
TranslatorResult:: |
public static | function | Returns the object with TRUE. | |
TranslatorResult:: |
protected | function | Constructs a result object. |