You are here

John.php in Plug 7

File

modules/plug_example/src/Plugin/name/John.php
View source
<?php

/**
 * @file
 * Contains Drupal\plug_example\Plugin\name\John
 */
namespace Drupal\plug_example\Plugin\name;


/**
 * Class John
 * @package Drupal\plug_example\Plugin\name
 *
 * @Name(
 *   id = "john",
 *   company = TRUE
 * )
 */
class John extends NameBase implements NameInterface {
  protected $name = 'John Doe';

}

Classes

Namesort descending Description
John Class John @package Drupal\plug_example\Plugin\name