'title_label' =>
$this->
t('Title label.'
),
'has_body' =>
$this->
t('Flag indicating the node type has a body field.'
),
'body_label' =>
$this->
t('Body label.'
),
'min_word_count' =>
$this->
t('Minimum word count for the body field.'
),
'custom' =>
$this->
t('Flag.'
),
'modified' =>
$this->
t('Flag.'
),
'locked' =>
$this->
t('Flag.'
),
'orig_type' =>
$this->
t('The original type.'
),
'teaser_length' =>
$this->
t('Teaser length'
),
];
if ($this->
moduleExists('comment'
)) { $fields +=
$this->
getCommentFields();
} return $fields;
} /**
* Returns the fields containing comment settings for each node type.
*
* @return string[]
* An associative array of field descriptions, keyed by field.
*/
protected function getCommentFields() {