You are here

class AvailableResult in Translation Management Tool 8

Returns the result for an translator availability check.

Hierarchy

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\Translator
View source
class AvailableResult extends TranslatorResult {

}

Members

Namesort descending Modifiers Type Description Overrides
TranslatorResult::$message protected property Message in case success is FALSE.
TranslatorResult::$success protected property TRUE or FALSE for response.
TranslatorResult::getReason public function Returns the reason for an unsuccessful result.
TranslatorResult::getSuccess public function Returns the object state on success.
TranslatorResult::no public static function Returns the object with FALSE and a message.
TranslatorResult::setNo protected function Sets the value success to FALSE and sets the $message accordingly.
TranslatorResult::setYes protected function Sets the value success to TRUE.
TranslatorResult::yes public static function Returns the object with TRUE.
TranslatorResult::__construct protected function Constructs a result object.