You are here

interface OnlyOnePrintStrategyInterface in Allow a content type only once (Only One) 8

Interface OnlyOnePrintStrategyInterface.

Hierarchy

Expanded class hierarchy of OnlyOnePrintStrategyInterface

All classes that implement OnlyOnePrintStrategyInterface

1 file declares its use of OnlyOnePrintStrategyInterface
OnlyOneTest.php in tests/src/Unit/OnlyOneTest.php

File

src/OnlyOnePrintStrategyInterface.php, line 8

Namespace

Drupal\onlyone
View source
interface OnlyOnePrintStrategyInterface {

  /**
   * Return a list of content types for print.
   *
   * @param object[] $content_types
   *   A multidimensional array of content types objects.
   *
   * @return array
   *   An array of content types to print keyed by content type machine name.
   */
  public function getContentTypesListForPrint(array $content_types);

}

Members

Namesort descending Modifiers Type Description Overrides
OnlyOnePrintStrategyInterface::getContentTypesListForPrint public function Return a list of content types for print. 2