src/Forms/GridField/SEOEditorMetaDescriptionColumn.php
public function getColumnAttributes($gridField, $record, $columnName)
    {
        $errors = $this->getErrors($record);

        return [
            'class' => count($errors)
                ? 'seo-editor-error ' . implode(' ', $errors)
                : 'seo-editor-valid',
        ];
    }
public function getColumnAttributes($gridField, $record, $columnName)
    {
        $errors = $this->getErrors($record);

        return [
            'class' => count($errors)
                ? 'seo-editor-error ' . implode(' ', $errors)
                : 'seo-editor-valid',
        ];
    }
Attributes for the element containing the content returned by {@link getColumnContent()}.

@param  GridField $gridField
@param  DataObject $record displayed in this row
@param  string $columnName
@return array