lib/models/DeleteForm.php
public function getLabels()
    {
        $labels = [];
        $labels['delete_object'] = [
            'short' => 'Delete ' . $this->object->objectType->title->getSingular(true),
            'long' => 'delete the ' . $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em>',
            'past' => $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em> has been deleted',
            'options' => ['class' => 'btn-danger'],
            'response' => 'home',
        ];
        $labels['archive_object'] = [
            'short' => 'Archive ' . $this->object->objectType->title->getSingular(true),
            'long' => 'archive the ' . $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em>',
            'past' => $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em> has been archived',
            'response' => 'refresh',
        ];
        $labels['unarchive_object'] = [
            'short' => 'Unarchive ' . $this->object->objectType->title->getSingular(true),
            'long' => 'unarchive the ' . $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em>',
            'past' => $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em> has been unarchived',
            'response' => 'refresh',
        ];
        if (isset($this->relationshipWith)) {
            $labels['delete_relationship'] = [
                'short' => 'Delete Relationship',
                'long' => 'delete the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em>',
                'past' => 'the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em> has been deleted',
                'options' => ['class' => 'btn-warning'],
            ];
            $labels['end_relationship'] = [
                'short' => 'End Relationship',
                'long' => 'end the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em>',
                'past' => 'the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em> has been ended',
            ];
        }

        return $labels;
    }
public function getLabels()
    {
        $labels = [];
        $labels['delete_object'] = [
            'short' => 'Delete ' . $this->object->objectType->title->getSingular(true),
            'long' => 'delete the ' . $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em>',
            'past' => $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em> has been deleted',
            'options' => ['class' => 'btn-danger'],
            'response' => 'home',
        ];
        $labels['archive_object'] = [
            'short' => 'Archive ' . $this->object->objectType->title->getSingular(true),
            'long' => 'archive the ' . $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em>',
            'past' => $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em> has been archived',
            'response' => 'refresh',
        ];
        $labels['unarchive_object'] = [
            'short' => 'Unarchive ' . $this->object->objectType->title->getSingular(true),
            'long' => 'unarchive the ' . $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em>',
            'past' => $this->object->objectType->title->getSingular(false) . ' <em>' . $this->object->descriptor . '</em> has been unarchived',
            'response' => 'refresh',
        ];
        if (isset($this->relationshipWith)) {
            $labels['delete_relationship'] = [
                'short' => 'Delete Relationship',
                'long' => 'delete the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em>',
                'past' => 'the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em> has been deleted',
                'options' => ['class' => 'btn-warning'],
            ];
            $labels['end_relationship'] = [
                'short' => 'End Relationship',
                'long' => 'end the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em>',
                'past' => 'the relationship between <em>' . $this->object->descriptor . '</em> and <em>' . $this->relationshipWith->descriptor . '</em> has been ended',
            ];
        }

        return $labels;
    }
public function getLabels ( ) { $ labels = [ ] ; $ labels [ 'delete_object' ] = [ 'short' => 'Delete ' . $ this -> object -> objectType -> title -> getSingular ( true ) , 'long' => 'delete the ' . $ this -> object -> objectType -> title -> getSingular ( false ) . ' <em>' . $ this -> object -> descriptor . '</em>' , 'past' => $ this -> object -> objectType -> title -> getSingular ( false ) . ' <em>' . $ this -> object -> descriptor . '</em> has been deleted' , 'options' => [ 'class' => 'btn-danger' ] , 'response' => 'home' , ] ; $ labels [ 'archive_object' ] = [ 'short' => 'Archive ' . $ this -> object -> objectType -> title -> getSingular ( true ) , 'long' => 'archive the ' . $ this -> object -> objectType -> title -> getSingular ( false ) . ' <em>' . $ this -> object -> descriptor . '</em>' , 'past' => $ this -> object -> objectType -> title -> getSingular ( false ) . ' <em>' . $ this -> object -> descriptor . '</em> has been archived' , 'response' => 'refresh' , ] ; $ labels [ 'unarchive_object' ] = [ 'short' => 'Unarchive ' . $ this -> object -> objectType -> title -> getSingular ( true ) , 'long' => 'unarchive the ' . $ this -> object -> objectType -> title -> getSingular ( false ) . ' <em>' . $ this -> object -> descriptor . '</em>' , 'past' => $ this -> object -> objectType -> title -> getSingular ( false ) . ' <em>' . $ this -> object -> descriptor . '</em> has been unarchived' , 'response' => 'refresh' , ] ; if ( isset ( $ this -> relationshipWith ) ) { $ labels [ 'delete_relationship' ] = [ 'short' => 'Delete Relationship' , 'long' => 'delete the relationship between <em>' . $ this -> object -> descriptor . '</em> and <em>' . $ this -> relationshipWith -> descriptor . '</em>' , 'past' => 'the relationship between <em>' . $ this -> object -> descriptor . '</em> and <em>' . $ this -> relationshipWith -> descriptor . '</em> has been deleted' , 'options' => [ 'class' => 'btn-warning' ] , ] ; $ labels [ 'end_relationship' ] = [ 'short' => 'End Relationship' , 'long' => 'end the relationship between <em>' . $ this -> object -> descriptor . '</em> and <em>' . $ this -> relationshipWith -> descriptor . '</em>' , 'past' => 'the relationship between <em>' . $ this -> object -> descriptor . '</em> and <em>' . $ this -> relationshipWith -> descriptor . '</em> has been ended' , ] ; } return $ labels ; }
Get labels.

@return [[@doctodo return_type:getLabels]] [[@doctodo return_description:getLabels]]
Get labels .