You are here

public function NodeRevisionDeleteInterface::saveContentTypeConfig in Node Revision Delete 8

Save the content type config variable.

Parameters

string $content_type: Content type machine name.

int $minimum_revisions_to_keep: Minimum number of revisions to keep.

int $minimum_age_to_delete: Minimum age in months of revision to delete.

int $when_to_delete: Number of inactivity months to wait for delete a revision.

1 method overrides NodeRevisionDeleteInterface::saveContentTypeConfig()
NodeRevisionDelete::saveContentTypeConfig in src/NodeRevisionDelete.php
Save the content type config variable.

File

src/NodeRevisionDeleteInterface.php, line 51

Class

NodeRevisionDeleteInterface
Interface NodeRevisionDeleteInterface.

Namespace

Drupal\node_revision_delete

Code

public function saveContentTypeConfig($content_type, $minimum_revisions_to_keep, $minimum_age_to_delete, $when_to_delete);