logEffect(self::DO_BLOCK); } public function getHeraldActionStandardType() { return self::STANDARD_TEXT; } public function renderActionDescription($value) { return pht('Block push with message: %s', $value); } protected function getActionEffectMap() { return array( self::DO_BLOCK => array( 'icon' => 'fa-stop', 'color' => 'red', 'name' => pht('Blocked Push'), ), ); } protected function renderActionEffectDescription($type, $data) { switch ($type) { case self::DO_ADD_AUDITORS: return pht('Blocked push.'); } } }